Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount
public static class SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanTime span for the redeemed discount.Map of extra parameters for custom features not available in this client library.A precise Unix timestamp for the discount to end.getType()Required. The type of calculation made to determine when the discount ends.inthashCode()
-
Method Details
-
builder
public static SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Builder builder() -
getDuration
public SubscriptionScheduleAmendParams.Amendment.ItemAction.Add.Discount.DiscountEnd.Duration getDuration()Time span for the redeemed discount. -
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. -
getTimestamp
A precise Unix timestamp for the discount to end. Must be in the future. -
getType
Required. The type of calculation made to determine when the discount ends. -
equals
-
canEqual
-
hashCode
public int hashCode()
-