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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)SubscriptionItem.BillingThresholdsgetBillingThresholds()java.lang.StringgetPlan()Get ID of expandableplanobject.PlangetPlanObject()Get expandedplan.java.lang.StringgetPrice()Get ID of expandablepriceobject.PricegetPriceObject()Get expandedprice.java.lang.LonggetQuantity()java.util.List<TaxRate>getTaxRates()inthashCode()voidsetBillingThresholds(SubscriptionItem.BillingThresholds billingThresholds)voidsetPlan(java.lang.String id)voidsetPlanObject(Plan expandableObject)voidsetPrice(java.lang.String id)voidsetPriceObject(Price expandableObject)voidsetQuantity(java.lang.Long quantity)voidsetTaxRates(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 expandableplanobject.
-
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 expandablepriceobject.
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-