Class DefaultPaymentRefundService.PaymentRefundPackage
java.lang.Object
com.broadleafcommerce.orderoperation.service.payment.DefaultPaymentRefundService.PaymentRefundPackage
- Direct Known Subclasses:
DefaultPaymentRefundService.ReturnPaymentRefundPackage
- Enclosing class:
- DefaultPaymentRefundService
An intermediary data structure used internally by
DefaultPaymentRefundService to keep
track of a fulfillment refund that will be executed.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountTheMonetaryAmountto refund.The ID of theOrderFulfillmentthat refund is being performed for.ThePaymentSummarythat this refund operation is being performed on.Returns the ID of thepayment.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.toString()
-
Constructor Details
-
PaymentRefundPackage
public PaymentRefundPackage()
-
-
Method Details
-
getPaymentId
Returns the ID of thepayment. -
getPayment
ThePaymentSummarythat this refund operation is being performed on. -
getOrderFulfillmentId
The ID of theOrderFulfillmentthat refund is being performed for. -
getAmountToRefund
public javax.money.MonetaryAmount getAmountToRefund()TheMonetaryAmountto refund. -
getRefundTransactionResponse
TheTransactionExecutionResponseof the refund transaction execution. -
setPayment
ThePaymentSummarythat this refund operation is being performed on. -
setOrderFulfillmentId
The ID of theOrderFulfillmentthat refund is being performed for. -
setAmountToRefund
public void setAmountToRefund(javax.money.MonetaryAmount amountToRefund) TheMonetaryAmountto refund. -
setRefundTransactionResponse
TheTransactionExecutionResponseof the refund transaction execution. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-