Class OrderCreateParams.Item

  • Enclosing class:
    OrderCreateParams

    public static class OrderCreateParams.Item
    extends java.lang.Object
    • Method Detail

      • getAmount

        public java.lang.Long getAmount()
      • getCurrency

        public java.lang.String getCurrency()
      • getDescription

        public java.lang.String getDescription()
      • getExtraParams

        public java.util.Map<java.lang.String,​java.lang.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.
      • getParent

        public java.lang.String getParent()
        The ID of the SKU being ordered.
      • getQuantity

        public java.lang.Long getQuantity()
        The quantity of this order item. When type is sku, this is the number of instances of the SKU to be ordered.