Package com.stripe.model
Class SubscriptionSchedule.AddInvoiceItem
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.SubscriptionSchedule.AddInvoiceItem
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule
public static class SubscriptionSchedule.AddInvoiceItem extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description AddInvoiceItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getPrice()
Get ID of expandableprice
object.Price
getPriceObject()
Get expandedprice
.java.lang.Long
getQuantity()
The quantity of the invoice item.java.util.List<TaxRate>
getTaxRates()
The tax rates which apply to the item.int
hashCode()
void
setPrice(java.lang.String id)
void
setPriceObject(Price expandableObject)
void
setQuantity(java.lang.Long quantity)
The quantity of the invoice item.void
setTaxRates(java.util.List<TaxRate> taxRates)
The tax rates which apply to the item.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getPrice
public java.lang.String getPrice()
Get ID of expandableprice
object.
-
setPrice
public void setPrice(java.lang.String id)
-
getPriceObject
public Price getPriceObject()
Get expandedprice
.
-
setPriceObject
public void setPriceObject(Price expandableObject)
-
getQuantity
public java.lang.Long getQuantity()
The quantity of the invoice item.
-
getTaxRates
public java.util.List<TaxRate> getTaxRates()
The tax rates which apply to the item. When set, thedefault_tax_rates
do not apply to this item.
-
setQuantity
public void setQuantity(java.lang.Long quantity)
The quantity of the invoice item.
-
setTaxRates
public void setTaxRates(java.util.List<TaxRate> taxRates)
The tax rates which apply to the item. When set, thedefault_tax_rates
do not apply to this item.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-