Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.ItemAction.Set
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment.ItemAction
Required. ID of a price to remove.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classRequired. The number of intervals, as an whole number greater than 0. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanIf an item with thepricealready exists, passing this will override thediscountsarray on the subscription item that matches that price.Map of extra parameters for custom features not available in this client library.If an item with thepricealready exists, passing this will override themetadataon the subscription item that matches that price.getPrice()Required. The ID of the price object.If an item with thepricealready exists, passing this will override the quantity on the subscription item that matches that price.If an item with thepricealready exists, passing this will override thetax_ratesarray on the subscription item that matches that price.getTrial()If an item with thepricealready exists, passing this will override thetrialconfiguration on the subscription item that matches that price.inthashCode()
-
Method Details
-
builder
-
getDiscounts
If an item with thepricealready exists, passing this will override thediscountsarray on the subscription item that matches that price. Otherwise, theitemsarray is cleared and a single new item is added with the supplieddiscounts. -
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. -
getMetadata
If an item with thepricealready exists, passing this will override themetadataon the subscription item that matches that price. Otherwise, theitemsarray is cleared and a single new item is added with the suppliedmetadata. -
getPrice
Required. The ID of the price object. -
getQuantity
If an item with thepricealready exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, theitemsarray is cleared and a single new item is added with the suppliedquantity. -
getTaxRates
If an item with thepricealready exists, passing this will override thetax_ratesarray on the subscription item that matches that price. Otherwise, theitemsarray is cleared and a single new item is added with the suppliedtax_rates. -
getTrial
If an item with thepricealready exists, passing this will override thetrialconfiguration on the subscription item that matches that price. Otherwise, theitemsarray is cleared and a single new item is added with the suppliedtrial. -
equals
-
canEqual
-
hashCode
public int hashCode()
-