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.
  • Constructor Details

    • PhaseItem

      public PhaseItem()
  • Method Details

    • getPlan

      public String getPlan()
      Get ID of expandable plan object.
    • setPlan

      public void setPlan(String id)
    • getPlanObject

      public Plan getPlanObject()
      Get expanded plan.
    • setPlanObject

      public void setPlanObject(Plan expandableObject)
    • getPrice

      public String getPrice()
      Get ID of expandable price object.
    • setPrice

      public void setPrice(String id)
    • getPriceObject

      public Price getPriceObject()
      Get expanded price.
    • setPriceObject

      public void setPriceObject(Price expandableObject)
    • getBillingThresholds

      public SubscriptionItem.BillingThresholds getBillingThresholds()
    • getQuantity

      public Long getQuantity()
    • getTaxRates

      public List<TaxRate> getTaxRates()
    • setBillingThresholds

      public void setBillingThresholds(SubscriptionItem.BillingThresholds billingThresholds)
    • setQuantity

      public void setQuantity(Long quantity)
    • setTaxRates

      public void setTaxRates(List<TaxRate> taxRates)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object