Class SubscriptionScheduleCreateParams.Phase.Item

java.lang.Object
com.stripe.param.SubscriptionScheduleCreateParams.Phase.Item
Enclosing class:
SubscriptionScheduleCreateParams.Phase

public static class SubscriptionScheduleCreateParams.Phase.Item extends Object
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See SubscriptionScheduleCreateParams.Phase.InvoiceSettings.extraParams for the field documentation.
  • Method Details

    • builder

    • getBillingThresholds

      public Object getBillingThresholds()
      Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
    • 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()
      The plan ID to subscribe to. You may specify the same ID in plan and price.
    • getPrice

      public String getPrice()
      The ID of the price object.
    • getPriceData

      Data used to generate a new Price object inline.
    • getQuantity

      public Long getQuantity()
      Quantity for the given price. Can be set only if the price's usage_type is licensed and not metered.
    • getTaxRates

      public Object getTaxRates()
      A list of Tax Rate ids. These Tax Rates will override the default_tax_rates on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.