public static class Storefront.ProductPriceRange extends AbstractResponse<Storefront.ProductPriceRange>
optimisticData, responseData| Constructor and Description |
|---|
ProductPriceRange() |
ProductPriceRange(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
Storefront.MoneyV2 |
getMaxVariantPrice()
The highest variant's price.
|
Storefront.MoneyV2 |
getMinVariantPrice()
The lowest variant's price.
|
Storefront.ProductPriceRange |
setMaxVariantPrice(Storefront.MoneyV2 arg) |
Storefront.ProductPriceRange |
setMinVariantPrice(Storefront.MoneyV2 arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic ProductPriceRange()
public ProductPriceRange(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.MoneyV2 getMaxVariantPrice()
public Storefront.ProductPriceRange setMaxVariantPrice(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getMinVariantPrice()
public Storefront.ProductPriceRange setMinVariantPrice(Storefront.MoneyV2 arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.ProductPriceRange>