Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.ItemAction
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.ItemAction
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Required. Determines the type of trial for this item.static class
Required. ID of a price to remove.static enum
Required. Determines the type of trial for this item. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getAdd()
Details of the subscription item to add.Map of extra parameters for custom features not available in this client library.Details of the subscription item to remove.getSet()
Details of the subscription item to replace the existing items with.getType()
Required. Determines the type of item action.
-
Method Details
-
builder
-
getAdd
Details of the subscription item to add. If an item with the sameprice
exists, it will be replaced by this new item. Otherwise, it adds the new item. -
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 subscription item to remove. -
getSet
Details of the subscription item to replace the existing items with. If an item with theset[price]
already exists, theitems
array is not cleared. Instead, all of the otherset
properties that are passed in this request will replace the existing values for the configuration item. -
getType
Required. Determines the type of item action.
-