public class CartDiscount extends AbstractResponse<CartDiscount>
optimisticData, responseData| Constructor and Description |
|---|
CartDiscount() |
CartDiscount(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount() |
String |
getGraphQlTypeName() |
List<String> |
getLabel() |
CartDiscount |
setAmount(Money arg) |
CartDiscount |
setLabel(List<String> arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic CartDiscount()
public CartDiscount(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Money getAmount()
public CartDiscount setAmount(Money arg)
public CartDiscount setLabel(List<String> arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<CartDiscount>Copyright © 2022 Adobe. All rights reserved.