Class PaymentLink.SubscriptionData

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentLink.SubscriptionData
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentLink

public static class PaymentLink.SubscriptionData extends StripeObject
  • Constructor Details

    • SubscriptionData

      public SubscriptionData()
  • Method Details

    • getDescription

      public String getDescription()
      The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
    • getInvoiceSettings

      public PaymentLink.SubscriptionData.InvoiceSettings getInvoiceSettings()
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that will set metadata on Subscriptions generated from this payment link.
    • getTrialPeriodDays

      public Long getTrialPeriodDays()
      Integer representing the number of trial period days before the customer is charged for the first time.
    • getTrialSettings

      public PaymentLink.SubscriptionData.TrialSettings getTrialSettings()
      Settings related to subscription trials.
    • setDescription

      public void setDescription(String description)
      The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
    • setInvoiceSettings

      public void setInvoiceSettings(PaymentLink.SubscriptionData.InvoiceSettings invoiceSettings)
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Set of key-value pairs that will set metadata on Subscriptions generated from this payment link.
    • setTrialPeriodDays

      public void setTrialPeriodDays(Long trialPeriodDays)
      Integer representing the number of trial period days before the customer is charged for the first time.
    • setTrialSettings

      public void setTrialSettings(PaymentLink.SubscriptionData.TrialSettings trialSettings)
      Settings related to subscription trials.
    • 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