Class SpecificItemVariantPricingDetail

java.lang.Object
com.broadleafcommerce.catalog.domain.product.commerce.SpecificItemVariantPricingDetail
All Implemented Interfaces:
Serializable

public class SpecificItemVariantPricingDetail extends Object implements Serializable
A version of SpecificItemVariantPricing tailored toward the needs of a commerce-facing product details page.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • SpecificItemVariantPricingDetail

      public SpecificItemVariantPricingDetail()
  • Method Details

    • getVariantId

      public String getVariantId()
      Gets the variantId this pricing should match with.
      Returns:
      The variantId this pricing should match with.
    • getSpecificItemVariantPricing

      public SpecificItemVariantPricing getSpecificItemVariantPricing()
    • getPriceInfo

      public PriceInfo getPriceInfo()
      The price to use for this item when the related Variant is selected.
      Returns:
      The price to use for this item when the related Variant is selected.
    • setSpecificItemVariantPricing

      public void setSpecificItemVariantPricing(SpecificItemVariantPricing specificItemVariantPricing)
    • setPriceInfo

      public void setPriceInfo(PriceInfo priceInfo)
      The price to use for this item when the related Variant is selected.
      Parameters:
      priceInfo - the price to use for this item when the related Variant is selected.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPricingKey

      public String getPricingKey()
    • getOverridePrice

      public javax.money.MonetaryAmount getOverridePrice()
    • setPricingKey

      public void setPricingKey(String pricingKey)
    • setOverridePrice

      public void setOverridePrice(javax.money.MonetaryAmount overridePrice)