Class CreditNote.Refund

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

public static class CreditNote.Refund extends StripeObject implements StripeActiveObject
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)
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • 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