Package com.stripe.param
Class SubscriptionCreateParams.AddInvoiceItem
java.lang.Object
com.stripe.param.SubscriptionCreateParams.AddInvoiceItem
- Enclosing class:
- SubscriptionCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classID of the promotion code to create a new discount for.static classRequired. Select how to calculate the start of the invoice item period. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe coupons to redeem into discounts for the item.Map of extra parameters for custom features not available in this client library.Set of key-value pairs that you can attach to an object.The period associated with this invoice item.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.inthashCode()
-
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@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. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata. -
getPeriod
The period associated with this invoice item. If not set,period.start.typedefaults tomax_item_period_startandperiod.end.typedefaults tomin_item_period_end. -
getPrice
The ID of the price object. One ofpriceorprice_datais required. -
getPriceData
-
getQuantity
Quantity for this item. Defaults to 1. -
getTaxRates
The tax rates which apply to the item. When set, thedefault_tax_ratesdo not apply to this item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-