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 boolean
boolean
getPlan()
Get ID of expandableplan
object.Get expandedplan
.getPrice()
Get ID of expandableprice
object.Get expandedprice
.int
hashCode()
void
setBillingThresholds
(SubscriptionSchedule.Phase.Item.BillingThresholds billingThresholds) void
setMetadata
(Map<String, String> metadata) void
void
setPlanObject
(Plan expandableObject) void
void
setPriceObject
(Price expandableObject) void
setQuantity
(Long quantity) void
setTaxRates
(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 expandableplan
object. -
setPlan
-
getPlanObject
Get expandedplan
. -
setPlanObject
-
getPrice
Get ID of expandableprice
object. -
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()
-