public class PriceAdjustment extends AbstractResponse<PriceAdjustment>
optimisticData, responseData| Constructor and Description |
|---|
PriceAdjustment() |
PriceAdjustment(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
The amount of the price adjustment and its currency code.
|
PriceAdjustmentCodesEnum |
getCode()
Deprecated.
PriceAdjustment is deprecated.
|
PriceAdjustmentDescriptionEnum |
getDescription()
Deprecated.
PriceAdjustment is deprecated.
|
String |
getGraphQlTypeName() |
PriceAdjustment |
setAmount(Money arg) |
PriceAdjustment |
setCode(PriceAdjustmentCodesEnum arg) |
PriceAdjustment |
setDescription(PriceAdjustmentDescriptionEnum arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic PriceAdjustment()
public PriceAdjustment(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Money getAmount()
public PriceAdjustment setAmount(Money arg)
@Deprecated public PriceAdjustmentCodesEnum getCode()
public PriceAdjustment setCode(PriceAdjustmentCodesEnum arg)
@Deprecated public PriceAdjustmentDescriptionEnum getDescription()
public PriceAdjustment setDescription(PriceAdjustmentDescriptionEnum arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<PriceAdjustment>Copyright © 2022 Adobe. All rights reserved.