Class BillingRetrySchedule
java.lang.Object
com.broadleafcommerce.billing.domain.BillingRetrySchedule
- All Implemented Interfaces:
Serializable
Represents a schedule and tracking of retries for payment or refund operations
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBillingRetrySchedule(String id, boolean tryAccountsFromWallet, Integer retryAttemptCount, List<IntervalBillingRetrySpecs> retries) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanconvert(org.modelmapper.spi.MappingContext<?, ?> context) booleangetCode()Deprecated.getId()The unique identifier for a retry scheduleThe retry details associated with this schedule.How many times the payment should be retried.inthashCode()booleanSet to true if we should try additional payment methods from the user's wallet if payment fails on the preferred payment method.voidvoidvoidsetRetries(List<IntervalBillingRetrySpecs> retries) The retry details associated with this schedule.voidsetRetryAttemptCount(Integer retryAttemptCount) How many times the payment should be retried.voidsetTryAccountsFromWallet(boolean tryAccountsFromWallet) Set to true if we should try additional payment methods from the user's wallet if payment fails on the preferred payment method.toString()
-
Constructor Details
-
BillingRetrySchedule
public BillingRetrySchedule(String id, boolean tryAccountsFromWallet, Integer retryAttemptCount, List<IntervalBillingRetrySpecs> retries) -
BillingRetrySchedule
public BillingRetrySchedule()
-
-
Method Details
-
setCode
-
setId
-
convert
-
getCode
Deprecated.UsegetId()field insteadThe unique identifier for a retry schedule -
getId
The unique identifier for a retry schedule -
isTryAccountsFromWallet
public boolean isTryAccountsFromWallet()Set to true if we should try additional payment methods from the user's wallet if payment fails on the preferred payment method. This is not applicable for refunds. -
getRetryAttemptCount
How many times the payment should be retried. -
getRetries
The retry details associated with this schedule. This details when the next retry should occur. Each subsequent retry uses a next entry, starting from index 0. -
setTryAccountsFromWallet
public void setTryAccountsFromWallet(boolean tryAccountsFromWallet) Set to true if we should try additional payment methods from the user's wallet if payment fails on the preferred payment method. This is not applicable for refunds. -
setRetryAttemptCount
How many times the payment should be retried. -
setRetries
The retry details associated with this schedule. This details when the next retry should occur. Each subsequent retry uses a next entry, starting from index 0. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getId()field instead