Package com.stripe.param
Class SubscriptionUpdateParams.Item.Discount.DiscountEnd
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.Item.Discount.DiscountEnd
- Enclosing class:
- SubscriptionUpdateParams.Item.Discount
-
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
-
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()
-