public static class Storefront.PricingPercentageValue extends AbstractResponse<Storefront.PricingPercentageValue> implements Storefront.PricingValue
optimisticData, responseData| Constructor and Description |
|---|
PricingPercentageValue() |
PricingPercentageValue(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.lang.Double |
getPercentage()
The percentage value of the object.
|
Storefront.PricingPercentageValue |
setPercentage(java.lang.Double arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic PricingPercentageValue()
public PricingPercentageValue(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.PricingValuepublic java.lang.Double getPercentage()
public Storefront.PricingPercentageValue setPercentage(java.lang.Double arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.PricingPercentageValue>