Package com.stripe.model
Class SubscriptionSchedule.PhaseItem
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.SubscriptionSchedule.PhaseItem
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule
public static class SubscriptionSchedule.PhaseItem extends StripeObject
Whether Stripe automatically computes tax on invoices created during this phase.
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PhaseItem()
-
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)
SubscriptionItem.BillingThresholds
getBillingThresholds()
java.lang.String
getPlan()
Get ID of expandableplan
object.Plan
getPlanObject()
Get expandedplan
.java.lang.String
getPrice()
Get ID of expandableprice
object.Price
getPriceObject()
Get expandedprice
.java.lang.Long
getQuantity()
java.util.List<TaxRate>
getTaxRates()
int
hashCode()
void
setBillingThresholds(SubscriptionItem.BillingThresholds billingThresholds)
void
setPlan(java.lang.String id)
void
setPlanObject(Plan expandableObject)
void
setPrice(java.lang.String id)
void
setPriceObject(Price expandableObject)
void
setQuantity(java.lang.Long quantity)
void
setTaxRates(java.util.List<TaxRate> taxRates)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getPlan
public java.lang.String getPlan()
Get ID of expandableplan
object.
-
setPlan
public void setPlan(java.lang.String id)
-
getPlanObject
public Plan getPlanObject()
Get expandedplan
.
-
setPlanObject
public void setPlanObject(Plan expandableObject)
-
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)
-
getBillingThresholds
public SubscriptionItem.BillingThresholds getBillingThresholds()
-
getQuantity
public java.lang.Long getQuantity()
-
getTaxRates
public java.util.List<TaxRate> getTaxRates()
-
setBillingThresholds
public void setBillingThresholds(SubscriptionItem.BillingThresholds billingThresholds)
-
setQuantity
public void setQuantity(java.lang.Long quantity)
-
setTaxRates
public void setTaxRates(java.util.List<TaxRate> taxRates)
-
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
-
-