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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetPrice()Get ID of expandablepriceobject.PricegetPriceObject()Get expandedprice.java.lang.LonggetQuantity()The quantity of the invoice item.java.util.List<TaxRate>getTaxRates()The tax rates which apply to the item.inthashCode()voidsetPrice(java.lang.String id)voidsetPriceObject(Price expandableObject)voidsetQuantity(java.lang.Long quantity)The quantity of the invoice item.voidsetTaxRates(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 expandablepriceobject.
-
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_ratesdo 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_ratesdo not apply to this item.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-