Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration
public static class SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration.Builderbuilder()protected booleanbooleanMap 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.inthashCode()
-
Method Details
-
builder
public static SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.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@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. -
getInterval
public SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration.Interval getInterval()Required. Specifies a type of interval unit. Eitherday,week,monthoryear. -
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. -
equals
-
canEqual
-
hashCode
public int hashCode()
-