public static class Storefront.SelectedOption extends AbstractResponse<Storefront.SelectedOption>
optimisticData, responseData| Constructor and Description |
|---|
SelectedOption() |
SelectedOption(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getName()
The product option’s name.
|
java.lang.String |
getValue()
The product option’s value.
|
Storefront.SelectedOption |
setName(java.lang.String arg) |
Storefront.SelectedOption |
setValue(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic SelectedOption()
public SelectedOption(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getName()
public Storefront.SelectedOption setName(java.lang.String arg)
public java.lang.String getValue()
public Storefront.SelectedOption setValue(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.SelectedOption>