Package com.digimarc.dms.resolver
Class ProductDetail
java.lang.Object
com.digimarc.dms.resolver.ProductDetail
ProductDetail contains product-specific fields from GS1.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
A package's product details may contain one or more ProductQuantity entries. -
Method Summary
Modifier and TypeMethodDescriptiongetBrand()
Get the content of the Brand field.Get the content of the Brand Owner field.getColor()
Get the content of the Color field.Get the content of the Description field.Get the content of the Flavor field.Get the content of the Image URL field.Get the content of the Product Name field.Gets the list of available product quantity entries.getScent()
Get the content of the Scent field.getSize()
Get the content of the Size field.Get the content of the Sub Brand field.boolean
Get the contents of the isCertified flag (if present).
-
Method Details
-
isCertified
public boolean isCertified()Get the contents of the isCertified flag (if present).- Returns:
- True if the package is certified, false if it is not or if the flag is not present.
-
getBrand
Get the content of the Brand field.- Returns:
- String containing the Brand text or null if not present.
-
getBrandOwner
Get the content of the Brand Owner field.- Returns:
- String containing the Brand Owner text or null if not present.
-
getProductName
Get the content of the Product Name field.- Returns:
- String containing the Product Name text or null if not present.
-
getSubBrand
Get the content of the Sub Brand field.- Returns:
- String containing the Sub Brand text or null if not present.
-
getDescription
Get the content of the Description field.- Returns:
- String containing the Description text or null if not present.
-
getColor
Get the content of the Color field.- Returns:
- String containing the Color text or null if not present.
-
getFlavor
Get the content of the Flavor field.- Returns:
- String containing the Flavor text or null if not present.
-
getScent
Get the content of the Scent field.- Returns:
- String containing the Scent text or null if not present.
-
getSize
Get the content of the Size field.- Returns:
- String containing the Size text or null if not present.
-
getImageUrl
Get the content of the Image URL field.- Returns:
- String containing the Image URL text or null if not present.
-
getQuantityList
Gets the list of available product quantity entries. This value will always return a valid list object, although the list may itself be empty.- Returns:
- List containing zero or more
ProductDetail.ProductQuantity
objects.
-