Class QuoteUpdateParams.LineItem

Enclosing class:

public static class QuoteUpdateParams.LineItem extends Object
Required. Type of the account referenced in the request.
  • Method Details

    • builder

      public static QuoteUpdateParams.LineItem.Builder builder()
    • getDiscounts

      public Object getDiscounts()
      The discounts applied to this line 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.
    • getId

      public Object getId()
      The ID of an existing line item on the quote.
    • getPrice

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

      public QuoteUpdateParams.LineItem.PriceData getPriceData()
      Data used to generate a new Price object inline. One of price or price_data is required.
    • getQuantity

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

      public Object getTaxRates()
      The tax rates which apply to the line item. When set, the default_tax_rates on the quote do not apply to this line item.