Class SubscriptionSchedule.Phase.AddInvoiceItem

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.AddInvoiceItem
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
SubscriptionSchedule.Phase

public static class SubscriptionSchedule.Phase.AddInvoiceItem extends StripeObject
An Add Invoice Item describes the prices and quantities that will be added as pending invoice items when entering a phase.
  • Constructor Details

    • AddInvoiceItem

      public AddInvoiceItem()
  • Method Details

    • 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)
    • getDiscounts

      The stackable discounts that will be applied to the item.
    • getQuantity

      public Long getQuantity()
      The quantity of the invoice item.
    • getTaxRates

      public List<TaxRate> getTaxRates()
      The tax rates which apply to the item. When set, the default_tax_rates do not apply to this item.
    • setDiscounts

      public void setDiscounts(List<SubscriptionSchedule.Phase.AddInvoiceItem.Discount> discounts)
      The stackable discounts that will be applied to the item.
    • setQuantity

      public void setQuantity(Long quantity)
      The quantity of the invoice item.
    • setTaxRates

      public void setTaxRates(List<TaxRate> taxRates)
      The tax rates which apply to the item. When set, the default_tax_rates do not apply to this item.
    • 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