Class DefaultPaymentRefundService.PaymentWithRefundableAmount
- java.lang.Object
-
- com.broadleafcommerce.orderoperation.service.payment.DefaultPaymentRefundService.PaymentWithRefundableAmount
-
- Enclosing class:
- DefaultPaymentRefundService
public static class DefaultPaymentRefundService.PaymentWithRefundableAmount extends Object
An intermediary data structure used internally byDefaultPaymentRefundService
to keep track of a refundable payment on anOrder
and the non-reversed amount that is actually available for refund on it.
-
-
Constructor Summary
Constructors Constructor Description PaymentWithRefundableAmount()
-
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
getAmountAvailableForRefund()
PaymentSummary
getPayment()
int
hashCode()
void
setAmountAvailableForRefund(javax.money.MonetaryAmount amountAvailableForRefund)
void
setPayment(PaymentSummary payment)
String
toString()
-
-
-
Method Detail
-
getPayment
public PaymentSummary getPayment()
-
getAmountAvailableForRefund
public javax.money.MonetaryAmount getAmountAvailableForRefund()
-
setPayment
public void setPayment(PaymentSummary payment)
-
setAmountAvailableForRefund
public void setAmountAvailableForRefund(javax.money.MonetaryAmount amountAvailableForRefund)
-
canEqual
protected boolean canEqual(Object other)
-
-