public static class SubscriptionSchedule.PhaseItem extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
PhaseItem() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
SubscriptionItem.BillingThresholds |
getBillingThresholds()
Define thresholds at which an invoice will be sent, and the related subscription advanced to
a new billing period.
|
java.lang.String |
getPlan()
Get id of expandable `plan` object.
|
Plan |
getPlanObject()
Get expanded `plan`.
|
java.lang.Long |
getQuantity()
Quantity of the plan to which the customer should be subscribed.
|
java.util.List<TaxRate> |
getTaxRates()
The tax rates which apply to this `phase_item`.
|
int |
hashCode() |
void |
setBillingThresholds(SubscriptionItem.BillingThresholds billingThresholds)
Define thresholds at which an invoice will be sent, and the related subscription advanced to
a new billing period.
|
void |
setPlan(java.lang.String id) |
void |
setPlanObject(Plan expandableObject) |
void |
setQuantity(java.lang.Long quantity)
Quantity of the plan to which the customer should be subscribed.
|
void |
setTaxRates(java.util.List<TaxRate> taxRates)
The tax rates which apply to this `phase_item`.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getPlan()
public void setPlan(java.lang.String id)
public Plan getPlanObject()
public void setPlanObject(Plan expandableObject)
public SubscriptionItem.BillingThresholds getBillingThresholds()
public java.lang.Long getQuantity()
public java.util.List<TaxRate> getTaxRates()
public void setBillingThresholds(SubscriptionItem.BillingThresholds billingThresholds)
public void setQuantity(java.lang.Long quantity)
public void setTaxRates(java.util.List<TaxRate> taxRates)
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