Package com.stripe.param
Class QuoteCreateParams.Line.Action
java.lang.Object
com.stripe.param.QuoteCreateParams.Line.Action
- Enclosing class:
- QuoteCreateParams.Line
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classRequired. The type of calculation made to determine when the discount ends.static classstatic classRequired. Determines the type of trial for this item.static classThe ID of a promotion code to remove from thediscountsarray.static classRequired. ID of a price to remove.static classAn ID of an existing promotion code to replace thediscountsarray with.static enumRequired. Determines the type of trial for this item. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDetails for theadd_discounttype.Details for theadd_itemtype.Details for theadd_metadatatype: specify a hash of key-value pairs.Map of extra parameters for custom features not available in this client library.Details for theremove_discounttype.Details for theremove_itemtype.Details for theremove_metadatatype: specify an array of metadata keys.Details for theset_discountstype.Details for theset_itemstype.Details for theset_metadatatype: specify an array of key-value pairs.getType()Required. The type of action the quote line performs.inthashCode()
-
Method Details
-
builder
-
getAddDiscount
Details for theadd_discounttype. -
getAddItem
Details for theadd_itemtype. -
getAddMetadata
Details for theadd_metadatatype: specify a hash of key-value pairs. -
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. -
getRemoveDiscount
Details for theremove_discounttype. -
getRemoveItem
Details for theremove_itemtype. -
getRemoveMetadata
Details for theremove_metadatatype: specify an array of metadata keys. -
getSetDiscounts
Details for theset_discountstype. -
getSetItems
Details for theset_itemstype. -
getSetMetadata
Details for theset_metadatatype: specify an array of key-value pairs. -
getType
Required. The type of action the quote line performs. -
equals
-
canEqual
-
hashCode
public int hashCode()
-