Class CreditNote.Refund

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.CreditNote.Refund
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
CreditNote

public static class CreditNote.Refund extends StripeObject
For more details about Refund, please refer to the API Reference.
  • Constructor Details

    • Refund

      public Refund()
  • Method Details

    • getRefund

      public String getRefund()
      Get ID of expandable refund object.
    • setRefund

      public void setRefund(String id)
    • getRefundObject

      public Refund getRefundObject()
      Get expanded refund.
    • setRefundObject

      public void setRefundObject(Refund expandableObject)
    • getAmountRefunded

      public Long getAmountRefunded()
      Amount of the refund that applies to this credit note, in cents (or local equivalent).
    • getPaymentRecordRefund

      public CreditNote.Refund.PaymentRecordRefund getPaymentRecordRefund()
      The PaymentRecord refund details associated with this credit note refund.
    • getType

      public String getType()
      Type of the refund, one of refund or payment_record_refund.
    • setAmountRefunded

      public void setAmountRefunded(Long amountRefunded)
      Amount of the refund that applies to this credit note, in cents (or local equivalent).
    • setPaymentRecordRefund

      public void setPaymentRecordRefund(CreditNote.Refund.PaymentRecordRefund paymentRecordRefund)
      The PaymentRecord refund details associated with this credit note refund.
    • setType

      public void setType(String type)
      Type of the refund, one of refund or payment_record_refund.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object