Class PaymentAccountProcessedEvent
java.lang.Object
com.broadleafcommerce.billing.job.domain.PaymentAccountProcessedEvent
- All Implemented Interfaces:
Serializable
This DTO is used to record detailed results of the processed transaction to pass on to subsequent
handlers
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanSOFT/HARD Failures reason codes for the PaymentProcessorThe list of billing processing requests to process.This have all the PaymentAccountIds which are in SOFT_FAILURE if theisLastPaymentAccountInProcessis trueThe date and time of the last transaction for this account.The result of the last billing transaction for this account.inthashCode()booleanThis returns true if last PaymentAccount is in the BillingJob process and have at least one PaymentAccount which is in SOFT_FAILUREvoidsetFailureReason(String failureReason) SOFT/HARD Failures reason codes for the PaymentProcessorvoidsetLastPaymentAccountInProcess(boolean isLastPaymentAccountInProcess) This returns true if last PaymentAccount is in the BillingJob process and have at least one PaymentAccount which is in SOFT_FAILUREvoidsetPaymentAccountId(String paymentAccountId) The list of billing processing requests to process.voidsetPaymentAccountIdsWithSoftFailure(List<String> paymentAccountIdsWithSoftFailure) This have all the PaymentAccountIds which are in SOFT_FAILURE if theisLastPaymentAccountInProcessis truevoidsetTransactionDateTime(Date transactionDateTime) The date and time of the last transaction for this account.voidsetTransactionResult(String transactionResult) The result of the last billing transaction for this account.toString()
-
Constructor Details
-
PaymentAccountProcessedEvent
public PaymentAccountProcessedEvent() -
PaymentAccountProcessedEvent
-
-
Method Details
-
getPaymentAccountId
The list of billing processing requests to process. -
getTransactionResult
The result of the last billing transaction for this account. Can be: SUCCESS, SOFT_FAILURE, HARD_FAILURE. -
getTransactionDateTime
The date and time of the last transaction for this account. -
getFailureReason
SOFT/HARD Failures reason codes for the PaymentProcessor -
isLastPaymentAccountInProcess
public boolean isLastPaymentAccountInProcess()This returns true if last PaymentAccount is in the BillingJob process and have at least one PaymentAccount which is in SOFT_FAILURE -
getPaymentAccountIdsWithSoftFailure
This have all the PaymentAccountIds which are in SOFT_FAILURE if theisLastPaymentAccountInProcessis true -
setPaymentAccountId
The list of billing processing requests to process. -
setTransactionResult
The result of the last billing transaction for this account. Can be: SUCCESS, SOFT_FAILURE, HARD_FAILURE. -
setTransactionDateTime
The date and time of the last transaction for this account. -
setFailureReason
SOFT/HARD Failures reason codes for the PaymentProcessor -
setLastPaymentAccountInProcess
public void setLastPaymentAccountInProcess(boolean isLastPaymentAccountInProcess) This returns true if last PaymentAccount is in the BillingJob process and have at least one PaymentAccount which is in SOFT_FAILURE -
setPaymentAccountIdsWithSoftFailure
This have all the PaymentAccountIds which are in SOFT_FAILURE if theisLastPaymentAccountInProcessis true -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-