Package com.stripe.param
Class InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem
- Enclosing class:
- InvoiceCreatePreviewParams.ScheduleDetails.Phase
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
Required. The number of intervals, as an whole number greater than 0.static class
Required. Select how to calculate the start of the invoice item period. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The 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.int
hashCode()
-
Method Details
-
builder
-
getDiscounts
public List<InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem.Discount> 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. -
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. Defaults to the period of the underlying subscription that surrounds the start of the phase. -
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. -
equals
-
canEqual
-
hashCode
public int hashCode()
-