Interface PaymentFailurePolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentFailurePolicy.Builder,,PaymentFailurePolicy> SdkBuilder<PaymentFailurePolicy.Builder,,PaymentFailurePolicy> SdkPojo
- Enclosing class:
PaymentFailurePolicy
@Mutable
@NotThreadSafe
public static interface PaymentFailurePolicy.Builder
extends SdkPojo, CopyableBuilder<PaymentFailurePolicy.Builder,PaymentFailurePolicy>
-
Method Summary
Modifier and TypeMethodDescriptiondowngradeToPlanId(String downgradeToPlanId) Plan to move the subscriber to once the attempts are exhausted.retryAttempts(Integer retryAttempts) The total number of payment attempts for a failed recurring payment, including the first attempt, before the failure is final.retryWindowDays(Integer retryWindowDays) The number of days over which to retry a failed recurring payment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
retryAttempts
The total number of payment attempts for a failed recurring payment, including the first attempt, before the failure is final. For example, 3 means the first attempt and up to 2 retries.
- Parameters:
retryAttempts- The total number of payment attempts for a failed recurring payment, including the first attempt, before the failure is final. For example, 3 means the first attempt and up to 2 retries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryWindowDays
The number of days over which to retry a failed recurring payment.
- Parameters:
retryWindowDays- The number of days over which to retry a failed recurring payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downgradeToPlanId
Plan to move the subscriber to once the attempts are exhausted.
- Parameters:
downgradeToPlanId- Plan to move the subscriber to once the attempts are exhausted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-