Class ItemSkuRef
java.lang.Object
com.broadleafcommerce.cart.client.domain.ItemSkuRef
- All Implemented Interfaces:
Serializable
A reference to some external SKU from the context of an item.
- Author:
- Jacob Mitash
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The ID of the product being referred to.getSku()
The SKU being referred to.The ID of the variantId being referred to.int
hashCode()
void
setProductId
(String productId) The ID of the product being referred to.void
The SKU being referred to.void
setVariantId
(String variantId) The ID of the variantId being referred to.toString()
-
Constructor Details
-
ItemSkuRef
public ItemSkuRef()
-
-
Method Details
-
getSku
The SKU being referred to.- Returns:
- the SKU being referred to
-
getProductId
The ID of the product being referred to.- Returns:
- the ID of the product being referred to
-
getVariantId
The ID of the variantId being referred to.- Returns:
- the ID of the variantId being referred to
-
setSku
The SKU being referred to.- Parameters:
sku
- the SKU being referred to
-
setProductId
The ID of the product being referred to.- Parameters:
productId
- the ID of the product being referred to
-
setVariantId
The ID of the variantId being referred to.- Parameters:
productId
- the ID of the variantId being referred to
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-