Class AttributeAccessor
java.lang.Object
com.commercetools.api.models.product.AttributeAccessor
- Direct Known Subclasses:
AttributeAccessor
Accessor for retrieving type safe attribute values
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasAttributeMap
(ProductVariant variant) static Boolean
static LocalDate
static ZonedDateTime
asDateTime
(Attribute attribute) static Double
static AttributePlainEnumValue
static AttributeLocalizedEnumValue
asLocalizedEnum
(Attribute attribute) static LocalizedString
asLocalizedString
(Attribute attribute) static Long
asMap
(ProductVariant variant) static TypedMoney
static Reference
asReference
(Attribute attribute) asSetBoolean
(Attribute attribute) static List<ZonedDateTime>
asSetDateTime
(Attribute attribute) asSetDouble
(Attribute attribute) static List<AttributePlainEnumValue>
static List<AttributeLocalizedEnumValue>
asSetLocalizedEnum
(Attribute attribute) static List<LocalizedString>
asSetLocalizedString
(Attribute attribute) static List<TypedMoney>
asSetMoney
(Attribute attribute) asSetNested
(Attribute attribute) asSetReference
(Attribute attribute) asSetString
(Attribute attribute) static String
static LocalTime
-
Constructor Details
-
AttributeAccessor
public AttributeAccessor()
-
-
Method Details
-
asAttributeMap
-
asMap
-
asMap
-
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
-