Class InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem

java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem
Enclosing class:
InvoiceCreatePreviewParams.ScheduleDetails.Phase

public static class InvoiceCreatePreviewParams.ScheduleDetails.Phase.AddInvoiceItem extends Object
  • Method Details

    • builder

    • getDiscounts

      The coupons to redeem into discounts for the item.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
    • getPeriod

      The period associated with this invoice item. Defaults to the period of the underlying subscription that surrounds the start of the phase.
    • getPrice

      public String getPrice()
      The ID of the price object. One of price or price_data is required.
    • getPriceData

      Data used to generate a new Price object inline. One of price or price_data is required.
    • getQuantity

      public Long getQuantity()
      Quantity for this item. Defaults to 1.
    • getTaxRates

      public Object getTaxRates()
      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