Package com.stripe.param
Class InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Duration
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Duration
- Enclosing class:
- InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd
public static class InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Duration
extends Object
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. See
InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.DiscountEnd.extraParams
for the field documentation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Map of extra parameters for custom features not available in this client library.Required. Specifies a type of interval unit.Required. The number of intervals, as an whole number greater than 0.
-
Method Details
-
builder
public static InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Duration.Builder builder() -
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. -
getInterval
public InvoiceCreatePreviewParams.ScheduleDetails.Amendment.AmendmentEnd.Duration.Interval getInterval()Required. Specifies a type of interval unit. Eitherday
,week
,month
oryear
. -
getIntervalCount
Required. The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
-