Class InvoicePayment.Payment

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

public static class InvoicePayment.Payment extends StripeObject
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)
    • getType

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

      One of charge, or payment_intent.

    • setType

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

      One of charge, or payment_intent.

    • 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