Class Invoice.SubscriptionDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.SubscriptionDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Invoice

public static class Invoice.SubscriptionDetails extends StripeObject
  • Constructor Details

    • SubscriptionDetails

      public SubscriptionDetails()
  • Method Details

    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization. Note: This attribute is populated only for invoices created on or after June 29, 2023.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Set of key-value pairs defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization. Note: This attribute is populated only for invoices created on or after June 29, 2023.
    • 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