public static class Storefront.Attribute
extends <any>
| Constructor and Description |
|---|
Attribute() |
Attribute(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getKey()
Key or name of the attribute.
|
java.lang.String |
getValue()
Value of the attribute.
|
Storefront.Attribute |
setKey(java.lang.String arg) |
Storefront.Attribute |
setValue(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
public Attribute()
public Attribute(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getKey()
public Storefront.Attribute setKey(java.lang.String arg)
public java.lang.String getValue()
public Storefront.Attribute setValue(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)