Package com.stripe.model
Class QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuotePreviewSubscriptionSchedule.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 class
For more details about Discount, please refer to the API Reference.static class
For 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 boolean
boolean
The 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 expandableprice
object.Get expandedprice
.The quantity of the invoice item.The tax rates which apply to the item.int
hashCode()
void
The stackable discounts that will be applied to the item.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
void
void
setPriceObject
(Price expandableObject) void
setQuantity
(Long quantity) The quantity of the invoice item.void
setTaxRates
(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 expandableprice
object. -
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_rates
do not apply to this item. -
setDiscounts
public void setDiscounts(List<QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem.Discount> discounts) 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_rates
do not apply to this item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-