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 boolean
boolean
javax.money.MonetaryAmount
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.The amount to refund.int
hashCode()
void
setAmountToRefund
(javax.money.MonetaryAmount amountToRefund) 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.void
setTransactionAmountDetails
(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
ThePaymentSummary
that this refund operation is being performed on. -
getOrderFulfillmentId
The ID of theOrderFulfillment
that refund is being performed for. -
getTransactionAmountDetails
The amount 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. -
setTransactionAmountDetails
The amount to refund. -
setRefundTransactionResponse
TheTransactionExecutionResponse
of the refund transaction execution. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-