Class DefaultPaymentRefundService.PaymentWithRefundableAmount

  • Enclosing class:
    DefaultPaymentRefundService

    public static class DefaultPaymentRefundService.PaymentWithRefundableAmount
    extends Object
    An intermediary data structure used internally by DefaultPaymentRefundService to keep track of a refundable payment on an Order and the non-reversed amount that is actually available for refund on it.
    • Constructor Detail

      • PaymentWithRefundableAmount

        public PaymentWithRefundableAmount()
    • Method Detail

      • getAmountAvailableForRefund

        public javax.money.MonetaryAmount getAmountAvailableForRefund()
      • setAmountAvailableForRefund

        public void setAmountAvailableForRefund​(javax.money.MonetaryAmount amountAvailableForRefund)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object