public class CartPrices extends AbstractResponse<CartPrices>
optimisticData, responseData| Constructor and Description |
|---|
CartPrices() |
CartPrices(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<CartTaxItem> |
getAppliedTaxes() |
CartDiscount |
getDiscount()
Deprecated.
Use discounts instead
|
List<Discount> |
getDiscounts()
An array of applied discounts
|
GiftOptionsPrices |
getGiftOptions()
The list of prices for the selected gift options
|
Money |
getGrandTotal() |
String |
getGraphQlTypeName() |
Money |
getSubtotalExcludingTax() |
Money |
getSubtotalIncludingTax() |
Money |
getSubtotalWithDiscountExcludingTax() |
CartPrices |
setAppliedTaxes(List<CartTaxItem> arg) |
CartPrices |
setDiscount(CartDiscount arg) |
CartPrices |
setDiscounts(List<Discount> arg) |
CartPrices |
setGiftOptions(GiftOptionsPrices arg) |
CartPrices |
setGrandTotal(Money arg) |
CartPrices |
setSubtotalExcludingTax(Money arg) |
CartPrices |
setSubtotalIncludingTax(Money arg) |
CartPrices |
setSubtotalWithDiscountExcludingTax(Money arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic CartPrices()
public CartPrices(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<CartTaxItem> getAppliedTaxes()
public CartPrices setAppliedTaxes(List<CartTaxItem> arg)
@Deprecated public CartDiscount getDiscount()
public CartPrices setDiscount(CartDiscount arg)
public CartPrices setDiscounts(List<Discount> arg)
public GiftOptionsPrices getGiftOptions()
public CartPrices setGiftOptions(GiftOptionsPrices arg)
public Money getGrandTotal()
public CartPrices setGrandTotal(Money arg)
public Money getSubtotalExcludingTax()
public CartPrices setSubtotalExcludingTax(Money arg)
public Money getSubtotalIncludingTax()
public CartPrices setSubtotalIncludingTax(Money arg)
public Money getSubtotalWithDiscountExcludingTax()
public CartPrices setSubtotalWithDiscountExcludingTax(Money arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<CartPrices>Copyright © 2022 Adobe. All rights reserved.