Interface Variant

  • All Known Implementing Classes:
    VariantImpl

    public interface Variant
    Variant is a view model interface representing a product variant that contains properties specific to a variant in comparison to its base product.
    • Method Detail

      • getDescription

        String getDescription()
      • getCurrency

        @Deprecated
        String getCurrency()
        Deprecated.
        Please use getPriceRange() instead.
        Returns:
        The price currency.
      • getPrice

        @Deprecated
        Double getPrice()
        Deprecated.
        Please use getPriceRange() instead.
        Returns:
        The price.
      • getFormattedPrice

        @Deprecated
        String getFormattedPrice()
        Deprecated.
        Please use getPriceRange() instead.
        Returns:
        The formatted price including the currency.
      • getPriceRange

        Price getPriceRange()