Class TabbyOrderItem

java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyOrderItem
All Implemented Interfaces:
Serializable

public class TabbyOrderItem extends Object implements Serializable
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • TabbyOrderItem

      public TabbyOrderItem()
  • Method Details

    • getTitle

      public String getTitle()
      Name of the product.

      This field is required.

    • getDescription

      public String getDescription()
      Description for the product.
    • getQuantity

      public Integer getQuantity()
      Quantity of the product ordered >= 1. Default: 1.

      This field is required.

    • getUnitPrice

      public String getUnitPrice()
      Price per unit of the product. Should be positive or zero. Default: "0.00".

      This field is required.

    • getDiscountAmount

      public String getDiscountAmount()
      Amount of the applied discount if any. Should be positive or zero. Default: "0.00".
    • getReferenceId

      public String getReferenceId()
      Merchant’s product identifier. Used for Item refunds.
    • getImageUrl

      public String getImageUrl()
      URL of the item image to show in the order information.
    • getProductUrl

      public String getProductUrl()
      URL of the item at your store.
    • getGender

      public String getGender()
      who the goods are designed to.

      Enum: "Male" "Female" "Kids" "Other"

    • getCategory

      public String getCategory()
      Required as name of high-level category (Clothes, Electronics,etc.); or a tree of category-subcategory1-subcategory2; or id of the category and table with category-ids data mapped provided.

      This field is required.

    • getColor

      public String getColor()
      Color name, e.g. white / blue / green.
    • getProductMaterial

      public String getProductMaterial()
      Product material name, e.g. cotton / polyester / synthetic.
    • getSizeType

      public String getSizeType()
      Size type, e.g. EU / UK.
    • getSize

      public String getSize()
      Size of the order item, e.g. L / XL / 12.
    • getBrand

      public String getBrand()
      Brand name, e.g. Mango / Dorothy Perkins / Tommy Hilfiger.
    • setTitle

      public void setTitle(String title)
      Name of the product.

      This field is required.

    • setDescription

      public void setDescription(String description)
      Description for the product.
    • setQuantity

      public void setQuantity(Integer quantity)
      Quantity of the product ordered >= 1. Default: 1.

      This field is required.

    • setUnitPrice

      public void setUnitPrice(String unitPrice)
      Price per unit of the product. Should be positive or zero. Default: "0.00".

      This field is required.

    • setDiscountAmount

      public void setDiscountAmount(String discountAmount)
      Amount of the applied discount if any. Should be positive or zero. Default: "0.00".
    • setReferenceId

      public void setReferenceId(String referenceId)
      Merchant’s product identifier. Used for Item refunds.
    • setImageUrl

      public void setImageUrl(String imageUrl)
      URL of the item image to show in the order information.
    • setProductUrl

      public void setProductUrl(String productUrl)
      URL of the item at your store.
    • setGender

      public void setGender(String gender)
      who the goods are designed to.

      Enum: "Male" "Female" "Kids" "Other"

    • setCategory

      public void setCategory(String category)
      Required as name of high-level category (Clothes, Electronics,etc.); or a tree of category-subcategory1-subcategory2; or id of the category and table with category-ids data mapped provided.

      This field is required.

    • setColor

      public void setColor(String color)
      Color name, e.g. white / blue / green.
    • setProductMaterial

      public void setProductMaterial(String productMaterial)
      Product material name, e.g. cotton / polyester / synthetic.
    • setSizeType

      public void setSizeType(String sizeType)
      Size type, e.g. EU / UK.
    • setSize

      public void setSize(String size)
      Size of the order item, e.g. L / XL / 12.
    • setBrand

      public void setBrand(String brand)
      Brand name, e.g. Mango / Dorothy Perkins / Tommy Hilfiger.
    • 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