Class ReaderSetReaderDisplayParams.Cart

Enclosing class:

public static class ReaderSetReaderDisplayParams.Cart extends Object
  • Method Details

    • builder

    • getCurrency

      public String 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.
    • getLineItems

      Required. Array of line items that were purchased.
    • getTax

      public Long getTax()
      The amount of tax in cents.
    • getTotal

      public Long getTotal()
      Required. Total balance of cart due in cents.