Class AttributesAccessor
java.lang.Object
com.commercetools.api.models.MapAccessor<Attribute>
com.commercetools.api.models.product.AttributesAccessor
Accessor to retrieve attribute values type safe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasDateTime
(String key) asLocalizedEnum
(String key) asLocalizedString
(String key) asReference
(String key) asSetBoolean
(String key) asSetDateTime
(String key) asSetDouble
(String key) asSetLocalizedEnum
(String key) asSetMoney
(String key) asSetNested
(String key) asSetReference
(String key) asSetString
(String key) static AttributesAccessor
of
(ProductVariant variant) static AttributesAccessor
static AttributesAccessor
Methods inherited from class com.commercetools.api.models.MapAccessor
get, get
-
Constructor Details
-
AttributesAccessor
-
-
Method Details
-
of
-
of
-
of
-
asDate
-
asTime
-
asDateTime
-
asSetDate
-
asSetTime
-
asSetDateTime
-
asString
-
asBoolean
-
asDouble
-
asLocalizedString
-
asEnum
-
asLocalizedEnum
-
asLong
-
asReference
-
asMoney
-
asSetString
-
asSetBoolean
-
asSetDouble
-
asSetLocalizedString
-
asSetEnum
-
asSetLocalizedEnum
-
asSetLong
-
asSetReference
-
asSetMoney
-
asNested
-
asSetNested
-