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 byDefaultPaymentRefundService
to 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 boolean
canEqual(Object other)
boolean
equals(Object o)
javax.money.MonetaryAmount
getAmountToRefund()
TheMonetaryAmount
to refund.String
getOrderFulfillmentId()
The ID of theOrderFulfillment
that refund is being performed for.PaymentSummary
getPayment()
ThePaymentSummary
that this refund operation is being performed on.String
getPaymentId()
Returns the ID of thepayment
.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.String
toString()
-
-
-
Method Detail
-
getPayment
public PaymentSummary getPayment()
ThePaymentSummary
that this refund operation is being performed on.
-
getOrderFulfillmentId
public String getOrderFulfillmentId()
The ID of theOrderFulfillment
that refund is being performed for.
-
getAmountToRefund
public javax.money.MonetaryAmount getAmountToRefund()
TheMonetaryAmount
to refund.
-
setPayment
public void setPayment(PaymentSummary payment)
ThePaymentSummary
that this refund operation is being performed on.
-
setOrderFulfillmentId
public void setOrderFulfillmentId(String orderFulfillmentId)
The ID of theOrderFulfillment
that refund is being performed for.
-
setAmountToRefund
public void setAmountToRefund(javax.money.MonetaryAmount amountToRefund)
TheMonetaryAmount
to refund.
-
canEqual
protected boolean canEqual(Object other)
-
-