Package com.stripe.param
Class InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set
- Enclosing class:
- InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction
public static class InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set
extends Object
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.The ID of the trial offer to apply to the configuration item.inthashCode()
-
Method Details
-
builder
-
getDiscounts
public List<InvoiceCreatePreviewParams.ScheduleDetails.Amendment.ItemAction.Set.Discount> 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. -
getTrialOffer
The ID of the trial offer to apply to the configuration item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-