Class ItemSkuRef

java.lang.Object
com.broadleafcommerce.cart.client.domain.ItemSkuRef
All Implemented Interfaces:
Serializable

public class ItemSkuRef extends Object implements Serializable
A reference to some external SKU from the context of an item.
Author:
Jacob Mitash
See Also:
  • Constructor Details

    • ItemSkuRef

      public ItemSkuRef()
  • Method Details

    • getSku

      public String getSku()
      The SKU being referred to.
      Returns:
      the SKU being referred to
    • getProductId

      public String getProductId()
      The ID of the product being referred to.
      Returns:
      the ID of the product being referred to
    • getVariantId

      public String getVariantId()
      The ID of the variantId being referred to.
      Returns:
      the ID of the variantId being referred to
    • setSku

      public void setSku(String sku)
      The SKU being referred to.
      Parameters:
      sku - the SKU being referred to
    • setProductId

      public void setProductId(String productId)
      The ID of the product being referred to.
      Parameters:
      productId - the ID of the product being referred to
    • setVariantId

      public void setVariantId(String variantId)
      The ID of the variantId being referred to.
      Parameters:
      productId - the ID of the variantId being referred to
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object