public static class SubscriptionSchedule.Phase extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
Phase() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.math.BigDecimal |
getApplicationFeePercent()
A non-negative decimal between 0 and 100, with at most two decimal places.
|
java.lang.String |
getCoupon()
Get id of expandable `coupon` object.
|
Coupon |
getCouponObject()
Get expanded `coupon`.
|
java.util.List<TaxRate> |
getDefaultTaxRates() |
java.lang.Long |
getEndDate()
The end of this phase of the subscription schedule.
|
java.util.List<SubscriptionSchedule.PhaseItem> |
getPlans()
Plans to subscribe during this phase of the subscription schedule.
|
java.lang.Long |
getStartDate()
The start of this phase of the subscription schedule.
|
java.math.BigDecimal |
getTaxPercent()
If provided, each invoice created during this phase of the subscription schedule will apply
the tax rate, increasing the amount billed to the customer.
|
java.lang.Long |
getTrialEnd()
When the trial ends within the phase.
|
int |
hashCode() |
void |
setApplicationFeePercent(java.math.BigDecimal applicationFeePercent)
A non-negative decimal between 0 and 100, with at most two decimal places.
|
void |
setCoupon(java.lang.String id) |
void |
setCouponObject(Coupon expandableObject) |
void |
setDefaultTaxRates(java.util.List<TaxRate> defaultTaxRates) |
void |
setEndDate(java.lang.Long endDate)
The end of this phase of the subscription schedule.
|
void |
setPlans(java.util.List<SubscriptionSchedule.PhaseItem> plans)
Plans to subscribe during this phase of the subscription schedule.
|
void |
setStartDate(java.lang.Long startDate)
The start of this phase of the subscription schedule.
|
void |
setTaxPercent(java.math.BigDecimal taxPercent)
If provided, each invoice created during this phase of the subscription schedule will apply
the tax rate, increasing the amount billed to the customer.
|
void |
setTrialEnd(java.lang.Long trialEnd)
When the trial ends within the phase.
|
equals, getLastResponse, setLastResponse, toJson, toString
public java.lang.String getCoupon()
public void setCoupon(java.lang.String id)
public Coupon getCouponObject()
public void setCouponObject(Coupon expandableObject)
public java.math.BigDecimal getApplicationFeePercent()
public java.util.List<TaxRate> getDefaultTaxRates()
public java.lang.Long getEndDate()
public java.util.List<SubscriptionSchedule.PhaseItem> getPlans()
public java.lang.Long getStartDate()
public java.math.BigDecimal getTaxPercent()
public java.lang.Long getTrialEnd()
public void setApplicationFeePercent(java.math.BigDecimal applicationFeePercent)
public void setDefaultTaxRates(java.util.List<TaxRate> defaultTaxRates)
public void setEndDate(java.lang.Long endDate)
public void setPlans(java.util.List<SubscriptionSchedule.PhaseItem> plans)
public void setStartDate(java.lang.Long startDate)
public void setTaxPercent(java.math.BigDecimal taxPercent)
public void setTrialEnd(java.lang.Long trialEnd)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object