Package com.stripe.param
Class SubscriptionCreateParams.AddInvoiceItem
java.lang.Object
com.stripe.param.SubscriptionCreateParams.AddInvoiceItem
- Enclosing class:
- SubscriptionCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
ID of the promotion code to create a new discount for. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The coupons to redeem into discounts for the item.Map of extra parameters for custom features not available in this client library.getPrice()
The ID of the price object.Data used to generate a new Price object inline.Quantity for this item.The tax rates which apply to the item.
-
Method Details
-
builder
-
getDiscounts
The coupons to redeem into discounts for the item. -
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. -
getPrice
The ID of the price object. One ofprice
orprice_data
is required. -
getPriceData
-
getQuantity
Quantity for this item. Defaults to 1. -
getTaxRates
The tax rates which apply to the item. When set, thedefault_tax_rates
do not apply to this item.
-