Package com.stripe.param.checkout
Class SessionCreateParams.SubscriptionData.Item
- java.lang.Object
-
- com.stripe.param.checkout.SessionCreateParams.SubscriptionData.Item
-
- Enclosing class:
- SessionCreateParams.SubscriptionData
public static class SessionCreateParams.SubscriptionData.Item extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSessionCreateParams.SubscriptionData.Item.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionCreateParams.SubscriptionData.Item.Builderbuilder()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.StringgetPlan()Plan ID for this item.java.lang.LonggetQuantity()The quantity of the subscription item being purchased.java.util.List<java.lang.String>getTaxRates()The tax rates which apply to this item.
-
-
-
Method Detail
-
builder
public static SessionCreateParams.SubscriptionData.Item.Builder builder()
-
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.String getPlan()
Plan ID for this item.
-
getQuantity
public java.lang.Long getQuantity()
The quantity of the subscription item being purchased. Quantity should not be defined whenrecurring.usage_type=metered.
-
getTaxRates
public java.util.List<java.lang.String> getTaxRates()
The tax rates which apply to this item. When set, thedefault_tax_ratesonsubscription_datado not apply to this item.
-
-