Package com.stripe.param
Class SubscriptionScheduleUpdateParams.Phase.Item
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.Phase.Item
- Enclosing class:
SubscriptionScheduleUpdateParams.Phase
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
SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.extraParams
for
the field documentation.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Usage threshold that triggers the subscription to advance to a new billing period. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period.Map of extra parameters for custom features not available in this client library.getPlan()
The plan ID to subscribe to.getPrice()
The ID of the price object.Data used to generate a new Price object inline.Quantity for the given price.A list of Tax Rate ids.
-
Method Details
-
builder
-
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
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
The plan ID to subscribe to. You may specify the same ID inplan
andprice
. -
getPrice
The ID of the price object. -
getPriceData
Data used to generate a new Price object inline. -
getQuantity
Quantity for the given price. Can be set only if the price'susage_type
islicensed
and notmetered
. -
getTaxRates
A list of Tax Rate ids. These Tax Rates will override thedefault_tax_rates
on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
-