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

      public String getId()
    • getRefundEventId

      public String getRefundEventId()
      The RefundEvent identifier used to track the parent RefundEvent.
    • getRefundStatus

      public RefundStatusEnum getRefundStatus()
      The status of the Refund processing
    • getRefundTotal

      public BigDecimal getRefundTotal()
      The monetary amount to refund.
    • getOriginalTransactionId

      public String getOriginalTransactionId()
      Reference to the original charge transaction PaymentTransactionDetail for refunds and chargeback
    • getRetryScheduleCode

      public String getRetryScheduleCode()
      The schedule for retrying this RefundEvent.
      Specified by:
      getRetryScheduleCode in interface RetryPayment
      See Also:
    • getAttemptCount

      public Integer getAttemptCount()
      The number of billing attempts for this refund event detail.
      Specified by:
      getAttemptCount in interface RetryPayment
      See Also:
    • getNextRetryDate

      public Date getNextRetryDate()
      If in retry, indicates when the next retry is scheduled.
      Specified by:
      getNextRetryDate in interface RetryPayment
      See Also:
    • getRemainingRetryCount

      public Integer getRemainingRetryCount()
      If in retry, indicates the number of retries remaining.
      Specified by:
      getRemainingRetryCount in interface RetryPayment
      See Also:
    • getCreatedDate

      public Date getCreatedDate()
      The date the refund event detail was created
    • getVersion

      public Integer getVersion()
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
    • setId

      public void setId(String id)
    • setRefundEventId

      public void setRefundEventId(String refundEventId)
      The RefundEvent identifier used to track the parent RefundEvent.
    • setRefundStatus

      public void setRefundStatus(RefundStatusEnum refundStatus)
      The status of the Refund processing
    • setRefundTotal

      public void setRefundTotal(BigDecimal refundTotal)
      The monetary amount to refund.
    • setOriginalTransactionId

      public void setOriginalTransactionId(String originalTransactionId)
      Reference to the original charge transaction PaymentTransactionDetail for refunds and chargeback
    • setRetryScheduleCode

      public void setRetryScheduleCode(String retryScheduleCode)
      The schedule for retrying this RefundEvent.
      Specified by:
      setRetryScheduleCode in interface RetryPayment
      See Also:
    • setAttemptCount

      public void setAttemptCount(Integer attemptCount)
      The number of billing attempts for this refund event detail.
      Specified by:
      setAttemptCount in interface RetryPayment
      See Also:
    • setNextRetryDate

      public void setNextRetryDate(Date nextRetryDate)
      If in retry, indicates when the next retry is scheduled.
      Specified by:
      setNextRetryDate in interface RetryPayment
      See Also:
    • setRemainingRetryCount

      public void setRemainingRetryCount(Integer remainingRetryCount)
      If in retry, indicates the number of retries remaining.
      Specified by:
      setRemainingRetryCount in interface RetryPayment
      See Also:
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
      The date the refund event detail was created
    • setVersion

      public void setVersion(Integer version)
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
    • 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