Package com.stripe.param
Class SubscriptionScheduleUpdateParams.Phase.Item
- java.lang.Object
-
- com.stripe.param.SubscriptionScheduleUpdateParams.Phase.Item
-
- Enclosing class:
- SubscriptionScheduleUpdateParams.Phase
public static class SubscriptionScheduleUpdateParams.Phase.Item extends java.lang.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. SeeSubscriptionScheduleUpdateParams.Phase.InvoiceSettings.extraParams
for the field documentation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscriptionScheduleUpdateParams.Phase.Item.BillingThresholds
static class
SubscriptionScheduleUpdateParams.Phase.Item.Builder
static class
SubscriptionScheduleUpdateParams.Phase.Item.PriceData
Usage threshold that triggers the subscription to advance to a new billing period.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionScheduleUpdateParams.Phase.Item.Builder
builder()
java.lang.Object
getBillingThresholds()
Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.Object
getPlan()
The plan ID to subscribe to.java.lang.Object
getPrice()
The ID of the price object.SubscriptionScheduleUpdateParams.Phase.Item.PriceData
getPriceData()
Data used to generate a new Price object inline.java.lang.Long
getQuantity()
Quantity for the given price.java.lang.Object
getTaxRates()
A list of Tax Rate ids.
-
-
-
Method Detail
-
builder
public static SubscriptionScheduleUpdateParams.Phase.Item.Builder builder()
-
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.Object getPlan()
The plan ID to subscribe to. You may specify the same ID inplan
andprice
.
-
getPrice
public java.lang.Object getPrice()
The ID of the price object.
-
getPriceData
public SubscriptionScheduleUpdateParams.Phase.Item.PriceData getPriceData()
Data used to generate a new Price object inline.
-
getQuantity
public java.lang.Long getQuantity()
Quantity for the given price. Can be set only if the price'susage_type
islicensed
and notmetered
.
-
getTaxRates
public java.lang.Object 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.
-
-