public class TierPrice extends AbstractResponse<TierPrice>
optimisticData, responseData| Constructor and Description |
|---|
TierPrice() |
TierPrice(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
ProductDiscount |
getDiscount()
The price discount that this tier represents.
|
Money |
getFinalPrice() |
String |
getGraphQlTypeName() |
Double |
getQuantity()
The minimum number of items that must be purchased to qualify for this price tier.
|
TierPrice |
setDiscount(ProductDiscount arg) |
TierPrice |
setFinalPrice(Money arg) |
TierPrice |
setQuantity(Double arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic TierPrice()
public TierPrice(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public ProductDiscount getDiscount()
public TierPrice setDiscount(ProductDiscount arg)
public Money getFinalPrice()
public Double getQuantity()
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<TierPrice>Copyright © 2022 Adobe. All rights reserved.