Package com.stripe.model
Class SubscriptionSchedule.Phase.AddInvoiceItem
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.AddInvoiceItem
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule.Phase
An Add Invoice Item describes the prices and quantities that will be added as pending invoice
items when entering a phase.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Discount, please refer to the API Reference.static classFor more details about Period, 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 stackable discounts that will be applied to the item.Set of key-value pairs that you can attach to an object.getPrice()Get ID of expandablepriceobject.Get expandedprice.The quantity of the invoice item.The tax rates which apply to the item.inthashCode()voidThe stackable discounts that will be applied to the item.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidvoidvoidsetPriceObject(Price expandableObject) voidsetQuantity(Long quantity) The quantity of the invoice item.voidsetTaxRates(List<TaxRate> taxRates) The tax rates which apply to the item.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AddInvoiceItem
public AddInvoiceItem()
-
-
Method Details
-
getPrice
Get ID of expandablepriceobject. -
setPrice
-
getPriceObject
Get expandedprice. -
setPriceObject
-
getDiscounts
The stackable discounts that will be applied to the item. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getPeriod
-
getQuantity
The quantity of the invoice item. -
getTaxRates
The tax rates which apply to the item. When set, thedefault_tax_ratesdo not apply to this item. -
setDiscounts
The stackable discounts that will be applied to the item. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setPeriod
-
setQuantity
The quantity of the invoice item. -
setTaxRates
The tax rates which apply to the item. When set, thedefault_tax_ratesdo not apply to this item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-