Class SubscriptionScheduleCreateParams.Phase.Item

    • Method Detail

      • getBillingThresholds

        public java.lang.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 java.util.Map<java.lang.String,​java.lang.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 java.lang.String getPlan()
        The plan ID to subscribe to. You may specify the same ID in plan and price.
      • getPrice

        public java.lang.String getPrice()
        The ID of the price object.
      • getQuantity

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

        public java.lang.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.