Package com.stripe.param
Class SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder
- java.lang.Object
-
- com.stripe.param.SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder
-
- Enclosing class:
- SubscriptionScheduleCreateParams.Phase.AddInvoiceItem
public static class SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair 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. SeeSubscriptionScheduleCreateParams.Phase.AddInvoiceItem.extraParams
for the field documentation.
-
putAllExtraParam
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
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. SeeSubscriptionScheduleCreateParams.Phase.AddInvoiceItem.extraParams
for the field documentation.
-
setPrice
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder setPrice(java.lang.String price)
The ID of the price object.
-
setPriceData
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder setPriceData(SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.PriceData priceData)
Data used to generate a new Price object inline.
-
setQuantity
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder setQuantity(java.lang.Long quantity)
Quantity for this item. Defaults to 1.
-
addTaxRate
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder addTaxRate(java.lang.String element)
Add an element to `taxRates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleCreateParams.Phase.AddInvoiceItem.taxRates
for the field documentation.
-
addAllTaxRate
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder addAllTaxRate(java.util.List<java.lang.String> elements)
Add all elements to `taxRates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleCreateParams.Phase.AddInvoiceItem.taxRates
for the field documentation.
-
setTaxRates
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder setTaxRates(EmptyParam taxRates)
The tax rates which apply to the item. When set, thedefault_tax_rates
do not apply to this item.
-
setTaxRates
public SubscriptionScheduleCreateParams.Phase.AddInvoiceItem.Builder setTaxRates(java.util.List<java.lang.String> taxRates)
The tax rates which apply to the item. When set, thedefault_tax_rates
do not apply to this item.
-
-