Class SubscriptionScheduleUpdateParams.Phase.Item

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

public static class SubscriptionScheduleUpdateParams.Phase.Item extends Object
Required. Type of the account referenced in the request.
  • 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.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to a configuration item. Metadata on a configuration item will update the underlying subscription item's metadata when the phase is entered, adding new keys and replacing existing keys. Individual keys in the subscription item's metadata can be unset by posting an empty value to them in the configuration item's metadata. To unset all keys in the subscription item's metadata, update the subscription item directly or unset every key individually from the configuration item's metadata.
    • getPlan

      public Object getPlan()
      The plan ID to subscribe to. You may specify the same ID in plan and price.
    • getPrice

      public Object 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.