Class InvoiceLineItemUpdateParams.PriceData

Enclosing class:

public static class InvoiceLineItemUpdateParams.PriceData extends Object
Required. The start of the period. This value is inclusive.
  • Method Details

    • builder

    • getCurrency

      public Object getCurrency()
      Required. Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • 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.
    • getProduct

      public Object getProduct()
      The ID of the product that this price will belong to. One of product or product_data is required.
    • getProductData

      Data used to generate a new product object inline. One of product or product_data is required.
    • getTaxBehavior

      Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified. Once specified as either inclusive or exclusive, it cannot be changed.
    • getUnitAmount

      public Long getUnitAmount()
      A non-negative integer in cents (or local equivalent) representing how much to charge. One of unit_amount or unit_amount_decimal is required.
    • getUnitAmountDecimal

      public Object getUnitAmountDecimal()
      Same as unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of unit_amount and unit_amount_decimal can be set.