Package com.stripe.param
Class InvoiceUpcomingLinesParams.ScheduleDetails.Amendment.DiscountAction
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesParams.ScheduleDetails.Amendment.DiscountAction
- Enclosing class:
- InvoiceUpcomingLinesParams.ScheduleDetails.Amendment
public static class InvoiceUpcomingLinesParams.ScheduleDetails.Amendment.DiscountAction
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
Required. The type of calculation made to determine when the discount ends.static class
The ID of a promotion code to remove from thediscounts
array.static enum
An ID of an existing promotion code to replace thediscounts
array with. -
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()
Required. 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
Required. Determines the type of discount action.
-