public interface ByIdVariantIdentifier extends VariantIdentifier
ProductVariant
by product ID and variant ID.ProductVariant.getIdentifier()
Modifier and Type | Method and Description |
---|---|
String |
getProductId() |
Integer |
getVariantId() |
static ByIdVariantIdentifier |
of(Referenceable<Product> product,
Integer variantId) |
static ByIdVariantIdentifier |
of(String productId,
Integer variantId) |
String getProductId()
Integer getVariantId()
static ByIdVariantIdentifier of(Referenceable<Product> product, Integer variantId)
static ByIdVariantIdentifier of(String productId, Integer variantId)