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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
The discount end type.static class
List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.static class
The discount end type.static class
static class
The discount end type. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Details for theadd_discount
type.Details for theadd_item
type.Details for theadd_metadata
type: specify a hash of key-value pairs.Details for theremove_discount
type.Details for theremove_item
type.Details for theremove_metadata
type: specify an array of metadata keys.Details for theset_discounts
type.Details for theset_items
type.Details for theset_metadata
type: specify an array of key-value pairs.getType()
The type of action the quote line performs.int
hashCode()
void
setAddDiscount
(QuoteLine.Action.AddDiscount addDiscount) Details for theadd_discount
type.void
setAddItem
(QuoteLine.Action.AddItem addItem) Details for theadd_item
type.void
setAddMetadata
(Map<String, String> addMetadata) Details for theadd_metadata
type: specify a hash of key-value pairs.void
setRemoveDiscount
(QuoteLine.Action.RemoveDiscount removeDiscount) Details for theremove_discount
type.void
setRemoveItem
(QuoteLine.Action.RemoveItem removeItem) Details for theremove_item
type.void
setRemoveMetadata
(List<String> removeMetadata) Details for theremove_metadata
type: specify an array of metadata keys.void
setSetDiscounts
(List<QuoteLine.Action.SetDiscount> setDiscounts) Details for theset_discounts
type.void
setSetItems
(List<QuoteLine.Action.SetItem> setItems) Details for theset_items
type.void
setSetMetadata
(Map<String, String> setMetadata) Details for theset_metadata
type: specify an array of key-value pairs.void
The type of action the quote line performs.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
getAddDiscount
Details for theadd_discount
type. -
getAddItem
Details for theadd_item
type. -
getAddMetadata
Details for theadd_metadata
type: specify a hash of key-value pairs. -
getRemoveDiscount
Details for theremove_discount
type. -
getRemoveItem
Details for theremove_item
type. -
getRemoveMetadata
Details for theremove_metadata
type: specify an array of metadata keys. -
getSetDiscounts
Details for theset_discounts
type. -
getSetItems
Details for theset_items
type. -
getSetMetadata
Details for theset_metadata
type: 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_discount
type. -
setAddItem
Details for theadd_item
type. -
setAddMetadata
Details for theadd_metadata
type: specify a hash of key-value pairs. -
setRemoveDiscount
Details for theremove_discount
type. -
setRemoveItem
Details for theremove_item
type. -
setRemoveMetadata
Details for theremove_metadata
type: specify an array of metadata keys. -
setSetDiscounts
Details for theset_discounts
type. -
setSetItems
Details for theset_items
type. -
setSetMetadata
Details for theset_metadata
type: 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()
-