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.MonetaryAmountThe 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.The amount to refund.inthashCode()voidsetAmountToRefund(javax.money.MonetaryAmount amountToRefund) 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.voidsetTransactionAmountDetails(TransactionAmountDetails transactionAmountDetails) The amount to refund.toString()
-
Constructor Details
-
PaymentRefundPackage
public PaymentRefundPackage()
-
-
Method Details
-
getPaymentId
Returns the ID of thepayment. -
getAmountToRefund
@Nullable public javax.money.MonetaryAmount getAmountToRefund() -
setAmountToRefund
public void setAmountToRefund(javax.money.MonetaryAmount amountToRefund) -
getPayment
ThePaymentSummarythat this refund operation is being performed on. -
getOrderFulfillmentId
The ID of theOrderFulfillmentthat refund is being performed for. -
getTransactionAmountDetails
The amount to 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. -
setTransactionAmountDetails
The amount to refund. -
setRefundTransactionResponse
TheTransactionExecutionResponseof the refund transaction execution. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-