Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.ItemAction
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.ItemAction
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classRequired. Determines the type of trial for this item.static classRequired. ID of a price to remove.static enumRequired. Determines the type of trial for this item. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetAdd()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.inthashCode()
-
Method Details
-
builder
-
getAdd
Details of the subscription item to add. If an item with the samepriceexists, 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@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. -
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, theitemsarray is not cleared. Instead, all of the othersetproperties that are passed in this request will replace the existing values for the configuration item. -
getType
Required. Determines the type of item action. -
equals
-
canEqual
-
hashCode
public int hashCode()
-