Interface CommerceIdentifier
-
- All Known Implementing Classes:
CommerceIdentifierImpl
public interface CommerceIdentifier
An identifier for any commerce entity (category or product). A commerce entity can be identified by more than one key, for example a product can be identified by the URL key or by the SKU.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CommerceIdentifier.EntityType
The type of the entity which is identifiedstatic class
CommerceIdentifier.IdentifierType
The type of this identifier
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommerceIdentifier.EntityType
getEntityType()
The type of entity which identifier is forCommerceIdentifier.IdentifierType
getType()
The type of the identifierString
getValue()
The value of the identifier
-
-
-
Method Detail
-
getValue
String getValue()
The value of the identifier- Returns:
- a string value representing the value of the identifier
-
getType
CommerceIdentifier.IdentifierType getType()
The type of the identifier- Returns:
- a
CommerceIdentifier.IdentifierType
value
-
getEntityType
CommerceIdentifier.EntityType getEntityType()
The type of entity which identifier is for- Returns:
- a
CommerceIdentifier.EntityType
value
-
-