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.ObjectAdd 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.extraParamsfor the field documentation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionScheduleUpdateParams.Phase.Item.BillingThresholdsstatic classSubscriptionScheduleUpdateParams.Phase.Item.Builderstatic classSubscriptionScheduleUpdateParams.Phase.Item.PriceDataUsage 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.Builderbuilder()java.lang.ObjectgetBillingThresholds()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.ObjectgetPlan()The plan ID to subscribe to.java.lang.ObjectgetPrice()The ID of the price object.SubscriptionScheduleUpdateParams.Phase.Item.PriceDatagetPriceData()Data used to generate a new Price object inline.java.lang.LonggetQuantity()Quantity for the given price.java.lang.ObjectgetTaxRates()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@SerializedNamevalue. 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 inplanandprice.
-
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_typeislicensedand notmetered.
-
getTaxRates
public java.lang.Object getTaxRates()
A list of Tax Rate ids. These Tax Rates will override thedefault_tax_rateson the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
-
-