Class SessionCreateParams.SubscriptionData.Item

java.lang.Object
com.stripe.param.checkout.SessionCreateParams.SubscriptionData.Item
Enclosing class:
SessionCreateParams.SubscriptionData

public static class SessionCreateParams.SubscriptionData.Item extends Object
  • Method Details

    • builder

    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getPlan

      public String getPlan()
      Plan ID for this item.
    • getQuantity

      public Long getQuantity()
      The quantity of the subscription item being purchased. Quantity should not be defined when recurring.usage_type=metered.
    • getTaxRates

      public List<String> getTaxRates()
      The tax rates which apply to this item. When set, the default_tax_rates on subscription_data do not apply to this item.