Class QuotePreviewInvoice.SubscriptionDetails

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

public static class QuotePreviewInvoice.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.
    • getPauseCollection

      If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to paused. Learn more about pausing collection.
    • 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.
    • setPauseCollection

      public void setPauseCollection(QuotePreviewInvoice.SubscriptionDetails.PauseCollection pauseCollection)
      If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to paused. Learn more about pausing collection.
    • 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