Class RefundEventDetail
java.lang.Object
com.broadleafcommerce.billing.domain.RefundEventDetail
- All Implemented Interfaces:
RetryPayment,com.broadleafcommerce.data.tracking.core.ContextStateAware
public class RefundEventDetail
extends Object
implements com.broadleafcommerce.data.tracking.core.ContextStateAware, RetryPayment
This contains the details of a refund summarized by the related
RefundEvent-
Constructor Summary
ConstructorsConstructorDescriptionRefundEventDetail(String id, String refundEventId, RefundStatusEnum refundStatus, BigDecimal refundTotal, String originalTransactionId, String retryScheduleCode, Integer attemptCount, Date nextRetryDate, Integer remainingRetryCount, Date createdDate, Integer version, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe number of billing attempts for this refund event detail.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.The date the refund event detail was createdgetId()If in retry, indicates when the next retry is scheduled.Reference to the original charge transactionPaymentTransactionDetailfor refunds and chargebackTheRefundEventidentifier used to track the parentRefundEvent.The status of the Refund processingThe monetary amount to refund.If in retry, indicates the number of retries remaining.The schedule for retrying thisRefundEvent.inthashCode()voidsetAttemptCount(Integer attemptCount) The number of billing attempts for this refund event detail.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetCreatedDate(Date createdDate) The date the refund event detail was createdvoidvoidsetNextRetryDate(Date nextRetryDate) If in retry, indicates when the next retry is scheduled.voidsetOriginalTransactionId(String originalTransactionId) Reference to the original charge transactionPaymentTransactionDetailfor refunds and chargebackvoidsetRefundEventId(String refundEventId) TheRefundEventidentifier used to track the parentRefundEvent.voidsetRefundStatus(RefundStatusEnum refundStatus) The status of the Refund processingvoidsetRefundTotal(BigDecimal refundTotal) The monetary amount to refund.voidsetRemainingRetryCount(Integer remainingRetryCount) If in retry, indicates the number of retries remaining.voidsetRetryScheduleCode(String retryScheduleCode) The schedule for retrying thisRefundEvent.voidsetVersion(Integer version) toString()
-
Constructor Details
-
RefundEventDetail
public RefundEventDetail() -
RefundEventDetail
public RefundEventDetail(String id, String refundEventId, RefundStatusEnum refundStatus, BigDecimal refundTotal, String originalTransactionId, String retryScheduleCode, Integer attemptCount, Date nextRetryDate, Integer remainingRetryCount, Date createdDate, Integer version, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
-
-
Method Details
-
getId
-
getRefundEventId
TheRefundEventidentifier used to track the parentRefundEvent. -
getRefundStatus
The status of the Refund processing -
getRefundTotal
The monetary amount to refund. -
getOriginalTransactionId
Reference to the original charge transactionPaymentTransactionDetailfor refunds and chargeback -
getRetryScheduleCode
The schedule for retrying thisRefundEvent.- Specified by:
getRetryScheduleCodein interfaceRetryPayment- See Also:
-
getAttemptCount
The number of billing attempts for this refund event detail.- Specified by:
getAttemptCountin interfaceRetryPayment- See Also:
-
getNextRetryDate
If in retry, indicates when the next retry is scheduled.- Specified by:
getNextRetryDatein interfaceRetryPayment- See Also:
-
getRemainingRetryCount
If in retry, indicates the number of retries remaining.- Specified by:
getRemainingRetryCountin interfaceRetryPayment- See Also:
-
getCreatedDate
The date the refund event detail was created -
getVersion
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
setId
-
setRefundEventId
TheRefundEventidentifier used to track the parentRefundEvent. -
setRefundStatus
The status of the Refund processing -
setRefundTotal
The monetary amount to refund. -
setOriginalTransactionId
Reference to the original charge transactionPaymentTransactionDetailfor refunds and chargeback -
setRetryScheduleCode
The schedule for retrying thisRefundEvent.- Specified by:
setRetryScheduleCodein interfaceRetryPayment- See Also:
-
setAttemptCount
The number of billing attempts for this refund event detail.- Specified by:
setAttemptCountin interfaceRetryPayment- See Also:
-
setNextRetryDate
If in retry, indicates when the next retry is scheduled.- Specified by:
setNextRetryDatein interfaceRetryPayment- See Also:
-
setRemainingRetryCount
If in retry, indicates the number of retries remaining.- Specified by:
setRemainingRetryCountin interfaceRetryPayment- See Also:
-
setCreatedDate
The date the refund event detail was created -
setVersion
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-