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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.MonetaryAmount
TheMonetaryAmount
to refund.The ID of theOrderFulfillment
that refund is being performed for.ThePaymentSummary
that this refund operation is being performed on.Returns the ID of thepayment
.TheTransactionExecutionResponse
of the refund transaction execution.int
hashCode()
void
setAmountToRefund
(javax.money.MonetaryAmount amountToRefund) TheMonetaryAmount
to refund.void
setOrderFulfillmentId
(String orderFulfillmentId) The ID of theOrderFulfillment
that refund is being performed for.void
setPayment
(PaymentSummary payment) ThePaymentSummary
that this refund operation is being performed on.void
setRefundTransactionResponse
(TransactionExecutionResponse refundTransactionResponse) TheTransactionExecutionResponse
of the refund transaction execution.toString()
-
Constructor Details
-
PaymentRefundPackage
public PaymentRefundPackage()
-
-
Method Details
-
getPaymentId
Returns the ID of thepayment
. -
getPayment
ThePaymentSummary
that this refund operation is being performed on. -
getOrderFulfillmentId
The ID of theOrderFulfillment
that refund is being performed for. -
getAmountToRefund
public javax.money.MonetaryAmount getAmountToRefund()TheMonetaryAmount
to refund. -
getRefundTransactionResponse
TheTransactionExecutionResponse
of the refund transaction execution. -
setPayment
ThePaymentSummary
that this refund operation is being performed on. -
setOrderFulfillmentId
The ID of theOrderFulfillment
that refund is being performed for. -
setAmountToRefund
public void setAmountToRefund(javax.money.MonetaryAmount amountToRefund) TheMonetaryAmount
to refund. -
setRefundTransactionResponse
TheTransactionExecutionResponse
of the refund transaction execution. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-