Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.DiscountAction
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.DiscountAction
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
The type of calculation made to determine when the discount ends.static class
Add all map key/value pairs to `extraParams` map.static enum
Add all map key/value pairs to `extraParams` map. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getAdd()
Details of the discount to add.Map of extra parameters for custom features not available in this client library.Details of the discount to remove.getSet()
Details of the discount to replace the existing discounts with.getType()
Determines the type of discount action.
-
Method Details
-
builder
-
getAdd
Details of the discount to add. -
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. -
getRemove
Details of the discount to remove. -
getSet
Details of the discount to replace the existing discounts with. -
getType
Determines the type of discount action.
-