Class TabbyOrderItem
java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyOrderItem
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getBrand()
Brand name, e.g.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.getColor()
Color name, e.g.Description for the product.Amount of the applied discount if any.who the goods are designed to.URL of the item image to show in the order information.Product material name, e.g.URL of the item at your store.Quantity of the product ordered >= 1.Merchant’s product identifier.getSize()
Size of the order item, e.g.Size type, e.g.getTitle()
Name of the product.Price per unit of the product.int
hashCode()
void
Brand name, e.g.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.void
Color name, e.g.void
setDescription
(String description) Description for the product.void
setDiscountAmount
(String discountAmount) Amount of the applied discount if any.void
who the goods are designed to.void
setImageUrl
(String imageUrl) URL of the item image to show in the order information.void
setProductMaterial
(String productMaterial) Product material name, e.g.void
setProductUrl
(String productUrl) URL of the item at your store.void
setQuantity
(Integer quantity) Quantity of the product ordered >= 1.void
setReferenceId
(String referenceId) Merchant’s product identifier.void
Size of the order item, e.g.void
setSizeType
(String sizeType) Size type, e.g.void
Name of the product.void
setUnitPrice
(String unitPrice) Price per unit of the product.toString()
-
Constructor Details
-
TabbyOrderItem
public TabbyOrderItem()
-
-
Method Details
-
getTitle
Name of the product.This field is required.
-
getDescription
Description for the product. -
getQuantity
Quantity of the product ordered >= 1. Default: 1.This field is required.
-
getUnitPrice
Price per unit of the product. Should be positive or zero. Default: "0.00".This field is required.
-
getDiscountAmount
Amount of the applied discount if any. Should be positive or zero. Default: "0.00". -
getReferenceId
Merchant’s product identifier. Used for Item refunds. -
getImageUrl
URL of the item image to show in the order information. -
getProductUrl
URL of the item at your store. -
getGender
who the goods are designed to.Enum: "Male" "Female" "Kids" "Other"
-
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
Color name, e.g. white / blue / green. -
getProductMaterial
Product material name, e.g. cotton / polyester / synthetic. -
getSizeType
Size type, e.g. EU / UK. -
getSize
Size of the order item, e.g. L / XL / 12. -
getBrand
Brand name, e.g. Mango / Dorothy Perkins / Tommy Hilfiger. -
setTitle
Name of the product.This field is required.
-
setDescription
Description for the product. -
setQuantity
Quantity of the product ordered >= 1. Default: 1.This field is required.
-
setUnitPrice
Price per unit of the product. Should be positive or zero. Default: "0.00".This field is required.
-
setDiscountAmount
Amount of the applied discount if any. Should be positive or zero. Default: "0.00". -
setReferenceId
Merchant’s product identifier. Used for Item refunds. -
setImageUrl
URL of the item image to show in the order information. -
setProductUrl
URL of the item at your store. -
setGender
who the goods are designed to.Enum: "Male" "Female" "Kids" "Other"
-
setCategory
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
Color name, e.g. white / blue / green. -
setProductMaterial
Product material name, e.g. cotton / polyester / synthetic. -
setSizeType
Size type, e.g. EU / UK. -
setSize
Size of the order item, e.g. L / XL / 12. -
setBrand
Brand name, e.g. Mango / Dorothy Perkins / Tommy Hilfiger. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-