Class DefaultPaymentRefundService.PaymentRefundPackage

java.lang.Object
com.broadleafcommerce.orderoperation.service.payment.DefaultPaymentRefundService.PaymentRefundPackage
Direct Known Subclasses:
DefaultPaymentRefundService.ReturnPaymentRefundPackage
Enclosing class:
DefaultPaymentRefundService

public static class DefaultPaymentRefundService.PaymentRefundPackage extends Object
An intermediary data structure used internally by DefaultPaymentRefundService to keep track of a fulfillment refund that will be executed.
  • Constructor Details

    • PaymentRefundPackage

      public PaymentRefundPackage()
  • Method Details

    • getPaymentId

      public String getPaymentId()
      Returns the ID of the payment.
    • getPayment

      public PaymentSummary getPayment()
      The PaymentSummary that this refund operation is being performed on.
    • getOrderFulfillmentId

      public String getOrderFulfillmentId()
      The ID of the OrderFulfillment that refund is being performed for.
    • getAmountToRefund

      public javax.money.MonetaryAmount getAmountToRefund()
      The MonetaryAmount to refund.
    • getRefundTransactionResponse

      public TransactionExecutionResponse getRefundTransactionResponse()
      The TransactionExecutionResponse of the refund transaction execution.
    • setPayment

      public void setPayment(PaymentSummary payment)
      The PaymentSummary that this refund operation is being performed on.
    • setOrderFulfillmentId

      public void setOrderFulfillmentId(String orderFulfillmentId)
      The ID of the OrderFulfillment that refund is being performed for.
    • setAmountToRefund

      public void setAmountToRefund(javax.money.MonetaryAmount amountToRefund)
      The MonetaryAmount to refund.
    • setRefundTransactionResponse

      public void setRefundTransactionResponse(TransactionExecutionResponse refundTransactionResponse)
      The TransactionExecutionResponse of the refund transaction 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