Class InvoicePayment.Payment

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

public static class InvoicePayment.Payment extends StripeObject implements StripeActiveObject
For more details about Payment, please refer to the API Reference.
  • Constructor Details

    • Payment

      public Payment()
  • Method Details

    • getCharge

      public String getCharge()
      Get ID of expandable charge object.
    • setCharge

      public void setCharge(String id)
    • getChargeObject

      public Charge getChargeObject()
      Get expanded charge.
    • setChargeObject

      public void setChargeObject(Charge expandableObject)
    • getPaymentIntent

      public String getPaymentIntent()
      Get ID of expandable paymentIntent object.
    • setPaymentIntent

      public void setPaymentIntent(String id)
    • getPaymentIntentObject

      public PaymentIntent getPaymentIntentObject()
      Get expanded paymentIntent.
    • setPaymentIntentObject

      public void setPaymentIntentObject(PaymentIntent expandableObject)
    • getPaymentRecord

      public String getPaymentRecord()
      Get ID of expandable paymentRecord object.
    • setPaymentRecord

      public void setPaymentRecord(String id)
    • getPaymentRecordObject

      public PaymentRecord getPaymentRecordObject()
      Get expanded paymentRecord.
    • setPaymentRecordObject

      public void setPaymentRecordObject(PaymentRecord 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.
    • getType

      public String getType()
      Type of payment object associated with this invoice payment.

      One of charge, payment_intent, or payment_record.

    • setType

      public void setType(String type)
      Type of payment object associated with this invoice payment.

      One of charge, payment_intent, or payment_record.

    • 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