public class CartItemPrices extends AbstractResponse<CartItemPrices>
optimisticData, responseData| Constructor and Description |
|---|
CartItemPrices() |
CartItemPrices(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<Discount> |
getDiscounts()
An array of discounts to be applied to the cart item
|
String |
getGraphQlTypeName() |
Money |
getPrice() |
Money |
getRowTotal() |
Money |
getRowTotalIncludingTax() |
Money |
getTotalItemDiscount()
The total of all discounts applied to the item
|
CartItemPrices |
setDiscounts(List<Discount> arg) |
CartItemPrices |
setPrice(Money arg) |
CartItemPrices |
setRowTotal(Money arg) |
CartItemPrices |
setRowTotalIncludingTax(Money arg) |
CartItemPrices |
setTotalItemDiscount(Money arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic CartItemPrices()
public CartItemPrices(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<Discount> getDiscounts()
public CartItemPrices setDiscounts(List<Discount> arg)
public Money getPrice()
public CartItemPrices setPrice(Money arg)
public Money getRowTotal()
public CartItemPrices setRowTotal(Money arg)
public Money getRowTotalIncludingTax()
public CartItemPrices setRowTotalIncludingTax(Money arg)
public Money getTotalItemDiscount()
public CartItemPrices setTotalItemDiscount(Money arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<CartItemPrices>Copyright © 2022 Adobe. All rights reserved.