Class BillingEventPaymentProcessedEvent

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

public class BillingEventPaymentProcessedEvent extends Object implements Serializable
This stores a summary of results of processing a payment. It is mainly used to update related entities (e.g. subscriptions and entitlements) given the results
See Also:
  • Constructor Details

    • BillingEventPaymentProcessedEvent

      public BillingEventPaymentProcessedEvent()
    • BillingEventPaymentProcessedEvent

      public BillingEventPaymentProcessedEvent(String eventPaymentId, PaymentStatusEnum paymentStatus, Date nextRetryDate, Integer remainingRetryCount, String subscriptionRef, Date transactionDateTime)
  • Method Details

    • getEventPaymentId

      public String getEventPaymentId()
      The identifier of the processed event payment.
    • getPaymentStatus

      public PaymentStatusEnum getPaymentStatus()
      The status of the payment after the processing.
    • getNextRetryDate

      public Date getNextRetryDate()
      If the payment is in retry, indicates when the next retry is scheduled.
    • getRemainingRetryCount

      public Integer getRemainingRetryCount()
      If the payment is in retry, indicates the number of retries remaining.
    • getSubscriptionRef

      public String getSubscriptionRef()
      Reference to the related Subscription
    • getTransactionDateTime

      public Date getTransactionDateTime()
      Date of the payment processing execution
    • setEventPaymentId

      public void setEventPaymentId(String eventPaymentId)
      The identifier of the processed event payment.
    • setPaymentStatus

      public void setPaymentStatus(PaymentStatusEnum paymentStatus)
      The status of the payment after the processing.
    • setNextRetryDate

      public void setNextRetryDate(Date nextRetryDate)
      If the payment is in retry, indicates when the next retry is scheduled.
    • setRemainingRetryCount

      public void setRemainingRetryCount(Integer remainingRetryCount)
      If the payment is in retry, indicates the number of retries remaining.
    • setSubscriptionRef

      public void setSubscriptionRef(String subscriptionRef)
      Reference to the related Subscription
    • setTransactionDateTime

      public void setTransactionDateTime(Date transactionDateTime)
      Date of the payment processing execution
    • 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