Class BillingRetrySchedule

java.lang.Object
com.broadleafcommerce.billing.domain.BillingRetrySchedule
All Implemented Interfaces:
Serializable

public class BillingRetrySchedule extends Object implements Serializable
Represents a schedule and tracking of retries for payment or refund operations
See Also:
  • Constructor Details

    • BillingRetrySchedule

      public BillingRetrySchedule(String id, boolean tryAccountsFromWallet, Integer retryAttemptCount, List<IntervalBillingRetrySpecs> retries)
    • BillingRetrySchedule

      public BillingRetrySchedule()
  • Method Details

    • setCode

      public void setCode(String code)
    • setId

      public void setId(String id)
    • convert

      public Object convert(org.modelmapper.spi.MappingContext<?,?> context)
    • getCode

      @Deprecated public String getCode()
      Deprecated.
      Use getId() field instead
      The unique identifier for a retry schedule
    • getId

      public String 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

      public Integer getRetryAttemptCount()
      How many times the payment should be retried.
    • getRetries

      public List<IntervalBillingRetrySpecs> 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

      public void setRetryAttemptCount(Integer retryAttemptCount)
      How many times the payment should be retried.
    • setRetries

      public void setRetries(List<IntervalBillingRetrySpecs> retries)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object