Class BillingEventPaymentProcessedEvent
java.lang.Object
com.broadleafcommerce.billing.job.domain.BillingEventPaymentProcessedEvent
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionBillingEventPaymentProcessedEvent(String eventPaymentId, PaymentStatusEnum paymentStatus, Date nextRetryDate, Integer remainingRetryCount, String subscriptionRef, Date transactionDateTime) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe identifier of the processed event payment.If the payment is in retry, indicates when the next retry is scheduled.The status of the payment after the processing.If the payment is in retry, indicates the number of retries remaining.Reference to the relatedSubscriptionDate of the payment processing executioninthashCode()voidsetEventPaymentId(String eventPaymentId) The identifier of the processed event payment.voidsetNextRetryDate(Date nextRetryDate) If the payment is in retry, indicates when the next retry is scheduled.voidsetPaymentStatus(PaymentStatusEnum paymentStatus) The status of the payment after the processing.voidsetRemainingRetryCount(Integer remainingRetryCount) If the payment is in retry, indicates the number of retries remaining.voidsetSubscriptionRef(String subscriptionRef) Reference to the relatedSubscriptionvoidsetTransactionDateTime(Date transactionDateTime) Date of the payment processing executiontoString()
-
Constructor Details
-
BillingEventPaymentProcessedEvent
public BillingEventPaymentProcessedEvent() -
BillingEventPaymentProcessedEvent
-
-
Method Details
-
getEventPaymentId
The identifier of the processed event payment. -
getPaymentStatus
The status of the payment after the processing. -
getNextRetryDate
If the payment is in retry, indicates when the next retry is scheduled. -
getRemainingRetryCount
If the payment is in retry, indicates the number of retries remaining. -
getSubscriptionRef
Reference to the relatedSubscription -
getTransactionDateTime
Date of the payment processing execution -
setEventPaymentId
The identifier of the processed event payment. -
setPaymentStatus
The status of the payment after the processing. -
setNextRetryDate
If the payment is in retry, indicates when the next retry is scheduled. -
setRemainingRetryCount
If the payment is in retry, indicates the number of retries remaining. -
setSubscriptionRef
Reference to the relatedSubscription -
setTransactionDateTime
Date of the payment processing execution -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-