public static class Storefront.QuantityPriceBreak extends AbstractResponse<Storefront.QuantityPriceBreak>
optimisticData, responseData| Constructor and Description |
|---|
QuantityPriceBreak() |
QuantityPriceBreak(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.lang.Integer |
getMinimumQuantity()
Minimum quantity required to reach new quantity break price.
|
Storefront.MoneyV2 |
getPrice()
The price of variant after reaching the minimum quanity.
|
Storefront.QuantityPriceBreak |
setMinimumQuantity(java.lang.Integer arg) |
Storefront.QuantityPriceBreak |
setPrice(Storefront.MoneyV2 arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic QuantityPriceBreak()
public QuantityPriceBreak(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.Integer getMinimumQuantity()
public Storefront.QuantityPriceBreak setMinimumQuantity(java.lang.Integer arg)
public Storefront.MoneyV2 getPrice()
public Storefront.QuantityPriceBreak setPrice(Storefront.MoneyV2 arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.QuantityPriceBreak>