Package com.stripe.model
Class QuoteLine.Action.AddItem
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine.Action.AddItem
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuoteLine.Action
For more details about AddItem, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Discount, please refer to the API Reference.static classFor more details about Trial, 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 booleanbooleanThe discounts applied to the subscription item.Set of key-value pairs that you can attach to an item.getPrice()Get ID of expandablepriceobject.Get expandedprice.Quantity of the plan to which the customer should be subscribed.The tax rates which apply to thisphase_item.getTrial()Options that configure the trial on the subscription item.inthashCode()voidsetDiscounts(List<QuoteLine.Action.AddItem.Discount> discounts) The discounts applied to the subscription item.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an item.voidvoidsetPriceObject(Price expandableObject) voidsetQuantity(Long quantity) Quantity of the plan to which the customer should be subscribed.voidsetTaxRates(List<TaxRate> taxRates) The tax rates which apply to thisphase_item.voidOptions that configure the trial on the subscription item.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AddItem
public AddItem()
-
-
Method Details
-
getPrice
Get ID of expandablepriceobject. -
setPrice
-
getPriceObject
Get expandedprice. -
setPriceObject
-
getDiscounts
The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Useexpand[]=discountsto expand each discount. -
getMetadata
Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item'smetadatawhen the phase is entered. -
getQuantity
Quantity of the plan to which the customer should be subscribed. -
getTaxRates
The tax rates which apply to thisphase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item. -
getTrial
Options that configure the trial on the subscription item. -
setDiscounts
The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Useexpand[]=discountsto expand each discount. -
setMetadata
Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item'smetadatawhen the phase is entered. -
setQuantity
Quantity of the plan to which the customer should be subscribed. -
setTaxRates
The tax rates which apply to thisphase_item. When set, thedefault_tax_rateson the phase do not apply to thisphase_item. -
setTrial
Options that configure the trial on the subscription item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-