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