Package com.stripe.model
Class SubscriptionSchedule.Phase.Item
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.Item
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule.Phase
A phase item describes the price and quantity of a phase.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetPlan()Get ID of expandableplanobject.Get expandedplan.getPrice()Get ID of expandablepriceobject.Get expandedprice.inthashCode()voidsetBillingThresholds(SubscriptionSchedule.Phase.Item.BillingThresholds billingThresholds) voidsetMetadata(Map<String, String> metadata) voidvoidsetPlanObject(Plan expandableObject) voidvoidsetPriceObject(Price expandableObject) voidsetQuantity(Long quantity) voidsetTaxRates(List<TaxRate> taxRates) Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
getPlan
Get ID of expandableplanobject. -
setPlan
-
getPlanObject
Get expandedplan. -
setPlanObject
-
getPrice
Get ID of expandablepriceobject. -
setPrice
-
getPriceObject
Get expandedprice. -
setPriceObject
-
getBillingThresholds
-
getMetadata
-
getQuantity
-
getTaxRates
-
setBillingThresholds
public void setBillingThresholds(SubscriptionSchedule.Phase.Item.BillingThresholds billingThresholds) -
setMetadata
-
setQuantity
-
setTaxRates
-
equals
-
canEqual
-
hashCode
public int hashCode()
-