public static class Storefront.QuantityRule extends AbstractResponse<Storefront.QuantityRule>
optimisticData, responseData| Constructor and Description |
|---|
QuantityRule() |
QuantityRule(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.lang.Integer |
getIncrement()
The value that specifies the quantity increment between minimum and maximum of the rule.
|
java.lang.Integer |
getMaximum()
An optional value that defines the highest allowed quantity purchased by the customer.
|
java.lang.Integer |
getMinimum()
The value that defines the lowest allowed quantity purchased by the customer.
|
Storefront.QuantityRule |
setIncrement(java.lang.Integer arg) |
Storefront.QuantityRule |
setMaximum(java.lang.Integer arg) |
Storefront.QuantityRule |
setMinimum(java.lang.Integer arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic QuantityRule()
public QuantityRule(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.Integer getIncrement()
public Storefront.QuantityRule setIncrement(java.lang.Integer arg)
public java.lang.Integer getMaximum()
public Storefront.QuantityRule setMaximum(java.lang.Integer arg)
public java.lang.Integer getMinimum()
public Storefront.QuantityRule setMinimum(java.lang.Integer arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.QuantityRule>