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 booleanbooleangetBrand()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.inthashCode()voidBrand name, e.g.voidsetCategory(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.voidColor name, e.g.voidsetDescription(String description) Description for the product.voidsetDiscountAmount(String discountAmount) Amount of the applied discount if any.voidwho the goods are designed to.voidsetImageUrl(String imageUrl) URL of the item image to show in the order information.voidsetProductMaterial(String productMaterial) Product material name, e.g.voidsetProductUrl(String productUrl) URL of the item at your store.voidsetQuantity(Integer quantity) Quantity of the product ordered >= 1.voidsetReferenceId(String referenceId) Merchant’s product identifier.voidSize of the order item, e.g.voidsetSizeType(String sizeType) Size type, e.g.voidName of the product.voidsetUnitPrice(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
-