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 byDefaultPaymentRefundServiceto keep track of a fulfillment refund that will be executed.
-
-
Constructor Summary
Constructors Constructor Description PaymentRefundPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)javax.money.MonetaryAmountgetAmountToRefund()TheMonetaryAmountto refund.StringgetOrderFulfillmentId()The ID of theOrderFulfillmentthat refund is being performed for.PaymentSummarygetPayment()ThePaymentSummarythat this refund operation is being performed on.StringgetPaymentId()Returns the ID of thepayment.TransactionExecutionResponsegetRefundTransactionResponse()TheTransactionExecutionResponseof the refund transaction execution.inthashCode()voidsetAmountToRefund(javax.money.MonetaryAmount amountToRefund)TheMonetaryAmountto refund.voidsetOrderFulfillmentId(String orderFulfillmentId)The ID of theOrderFulfillmentthat refund is being performed for.voidsetPayment(PaymentSummary payment)ThePaymentSummarythat this refund operation is being performed on.voidsetRefundTransactionResponse(TransactionExecutionResponse refundTransactionResponse)TheTransactionExecutionResponseof the refund transaction execution.StringtoString()
-
-
-
Method Detail
-
getPayment
public PaymentSummary getPayment()
ThePaymentSummarythat this refund operation is being performed on.
-
getOrderFulfillmentId
public String getOrderFulfillmentId()
The ID of theOrderFulfillmentthat refund is being performed for.
-
getAmountToRefund
public javax.money.MonetaryAmount getAmountToRefund()
TheMonetaryAmountto refund.
-
getRefundTransactionResponse
public TransactionExecutionResponse getRefundTransactionResponse()
TheTransactionExecutionResponseof the refund transaction execution.
-
setPayment
public void setPayment(PaymentSummary payment)
ThePaymentSummarythat this refund operation is being performed on.
-
setOrderFulfillmentId
public void setOrderFulfillmentId(String orderFulfillmentId)
The ID of theOrderFulfillmentthat refund is being performed for.
-
setAmountToRefund
public void setAmountToRefund(javax.money.MonetaryAmount amountToRefund)
TheMonetaryAmountto refund.
-
setRefundTransactionResponse
public void setRefundTransactionResponse(TransactionExecutionResponse refundTransactionResponse)
TheTransactionExecutionResponseof the refund transaction execution.
-
canEqual
protected boolean canEqual(Object other)
-
-