Interface CartItem


  • public interface CartItem

    CartItem interface. To get cart item values.

    Since:
    1.0.16
    Author:
    Logicommerce
    See Also:
    Cart
    • Method Detail

      • getId

        Integer getId()

        Get the identifier of this item.

        Returns:
        a Integer object
        Since:
        1.0.16
      • getHash

        String getHash()

        Get a Hash identifier of this item.

        Returns:
        a String object
        Since:
        1.0.16
      • getName

        String getName()

        Get the name of this item.

        Returns:
        a String object
        Since:
        1.0.16
      • 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
      • getCodes

        RowCodes getCodes()

        Get the RowCodes object.

        Returns:
        a RowCodes object
        Since:
        1.1.10
      • 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
      • getMainCategory

        Category getMainCategory()

        Get the specific category for cart item.

        Returns:
        a Category object
        Since:
        1.0.18