Package com.stripe.model
Class QuoteLine.Action
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine.Action
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuoteLine
For more details about Action, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about AddDiscount, please refer to the API Reference.static classFor more details about AddItem, please refer to the API Reference.static classFor more details about RemoveDiscount, please refer to the API Reference.static classFor more details about RemoveItem, please refer to the API Reference.static classFor more details about SetDiscount, please refer to the API Reference.static classFor more details about SetItem, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDetails for theadd_discounttype.Details for theadd_itemtype.Details for theadd_metadatatype: specify a hash of key-value pairs.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()The type of action the quote line performs.inthashCode()voidsetAddDiscount(QuoteLine.Action.AddDiscount addDiscount) Details for theadd_discounttype.voidsetAddItem(QuoteLine.Action.AddItem addItem) Details for theadd_itemtype.voidsetAddMetadata(Map<String, String> addMetadata) Details for theadd_metadatatype: specify a hash of key-value pairs.voidsetRemoveDiscount(QuoteLine.Action.RemoveDiscount removeDiscount) Details for theremove_discounttype.voidsetRemoveItem(QuoteLine.Action.RemoveItem removeItem) Details for theremove_itemtype.voidsetRemoveMetadata(List<String> removeMetadata) Details for theremove_metadatatype: specify an array of metadata keys.voidsetSetDiscounts(List<QuoteLine.Action.SetDiscount> setDiscounts) Details for theset_discountstype.voidsetSetItems(List<QuoteLine.Action.SetItem> setItems) Details for theset_itemstype.voidsetSetMetadata(Map<String, String> setMetadata) Details for theset_metadatatype: specify an array of key-value pairs.voidThe type of action the quote line performs.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
getAddDiscount
Details for theadd_discounttype. -
getAddItem
Details for theadd_itemtype. -
getAddMetadata
Details for theadd_metadatatype: specify a hash of key-value pairs. -
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
The type of action the quote line performs.One of
add_discount,add_item,add_metadata,clear_discounts,clear_metadata,remove_discount,remove_item,remove_metadata,set_discounts,set_items, orset_metadata. -
setAddDiscount
Details for theadd_discounttype. -
setAddItem
Details for theadd_itemtype. -
setAddMetadata
Details for theadd_metadatatype: specify a hash of key-value pairs. -
setRemoveDiscount
Details for theremove_discounttype. -
setRemoveItem
Details for theremove_itemtype. -
setRemoveMetadata
Details for theremove_metadatatype: specify an array of metadata keys. -
setSetDiscounts
Details for theset_discountstype. -
setSetItems
Details for theset_itemstype. -
setSetMetadata
Details for theset_metadatatype: specify an array of key-value pairs. -
setType
The type of action the quote line performs.One of
add_discount,add_item,add_metadata,clear_discounts,clear_metadata,remove_discount,remove_item,remove_metadata,set_discounts,set_items, orset_metadata. -
equals
-
canEqual
-
hashCode
public int hashCode()
-