-
public interface CartItem
CartItem interface. To get cart item values.
- Since:
- 1.0.16
- Author:
- Logicommerce
- See Also:
Cart
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Brand
getBrand()
Get the specific brand for cart item.RowCodes
getCodes()
Get the RowCodes object.List<CustomTag>
getCustomTagPluginValues()
Get the specific plugin customTag Values for this item.List<CustomTag>
getCustomTagValues()
Get the different customTag Values for this item.String
getHash()
Get a Hash identifier of this item.Integer
getId()
Get the identifier of this item.String
getImageUrl()
Get image URL of this item.Category
getMainCategory()
Get the specific category for cart item.String
getName()
Get the name of this item.Integer
getQuantity()
Get the quantity value of this item.Double
getSubtotal()
Get subtotal value of this item, this value define the price of the item without taxes.Double
getTotal()
Get total of this item, this value define the price of the item.Double
getTotalTaxes()
Get total taxes of this item.CartItemType
getType()
Get Type of this item.Double
getUnitPrice()
Get the unitPrice value of this item.String
getUrlSeo()
Get the URL SEO of this item.Double
getWeight()
Get the weight value of this item.
-
-
-
Method Detail
-
getUrlSeo
String getUrlSeo()
Get the URL SEO of this item.
Ex. https://test.test/category/product
- Returns:
- a
String
object - Since:
- 1.0.16
-
getImageUrl
String getImageUrl()
Get image URL of this item.
Ex. https://test.test/image.png
- Returns:
- a
String
object - Since:
- 1.0.16
-
getType
CartItemType getType()
Get Type of this item.
- Returns:
- a
CartItemType
object - Since:
- 1.0.16
-
getQuantity
Integer getQuantity()
Get the quantity value of this item.
- Returns:
- a
Integer
object - Since:
- 1.0.16
-
getWeight
Double getWeight()
Get the weight value of this item.
- Returns:
- a
Double
object - Since:
- 1.0.16
-
getUnitPrice
Double getUnitPrice()
Get the unitPrice value of this item.
- Returns:
- a
Double
object - Since:
- 1.0.18
-
getSubtotal
Double getSubtotal()
Get subtotal value of this item, this value define the price of the item without taxes.
- Returns:
- a
Double
object
-
getTotal
Double getTotal()
Get total of this item, this value define the price of the item.
- Returns:
- a
Double
object - Since:
- 1.0.16
-
getTotalTaxes
Double getTotalTaxes()
Get total taxes of this item.
- Returns:
- a
Double
object - Since:
- 1.0.16
-
getCustomTagValues
List<CustomTag> getCustomTagValues()
Get the different customTag Values for this item.
- Returns:
- a
List
object - Since:
- 1.0.16
-
getCustomTagPluginValues
List<CustomTag> getCustomTagPluginValues()
Get the specific plugin customTag Values for this item.
- Returns:
- a
List
object - Since:
- 1.0.16
-
getBrand
Brand getBrand()
Get the specific brand for cart item.
- Returns:
- a
Brand
object - Since:
- 1.0.18
-
-