java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.product.option.JpaSpecificItemChoice
All Implemented Interfaces:
Serializable

public class JpaSpecificItemChoice extends Object implements Serializable
Persistent counterpart to SpecificItemChoice.
Author:
Phillip Verheyden (phillipuniverse)
See Also:
  • Constructor Details

    • JpaSpecificItemChoice

      public JpaSpecificItemChoice()
  • Method Details

    • getOverridePrice

      public javax.money.MonetaryAmount getOverridePrice()
    • setOverridePrice

      public void setOverridePrice(javax.money.MonetaryAmount amount)
    • addFromMeMappings

      public static void addFromMeMappings(@NonNull org.modelmapper.ModelMapper mapper)
    • addToMeMappings

      public static void addToMeMappings(@NonNull org.modelmapper.ModelMapper mapper)
    • setCurrencyUnit

      public void setCurrencyUnit(javax.money.CurrencyUnit currency)
    • getType

      public String getType()
    • getProductContextId

      public String getProductContextId()
    • getVariantContextId

      public String getVariantContextId()
    • getVariantParentProductContextId

      public String getVariantParentProductContextId()
    • getNameOverride

      public String getNameOverride()
    • getCurrency

      public javax.money.CurrencyUnit getCurrency()
    • isDiscountAllowed

      public boolean isDiscountAllowed()
    • getPricingKey

      public String getPricingKey()
    • getAsset

      public JpaSpecificItemChoiceAsset getAsset()
    • getVariantPricingOverrides

      public List<JpaSpecificItemVariantPricing> getVariantPricingOverrides()
    • setType

      public void setType(String type)
    • setProductContextId

      public void setProductContextId(String productContextId)
    • setVariantContextId

      public void setVariantContextId(String variantContextId)
    • setVariantParentProductContextId

      public void setVariantParentProductContextId(String variantParentProductContextId)
    • setNameOverride

      public void setNameOverride(String nameOverride)
    • setCurrency

      public void setCurrency(javax.money.CurrencyUnit currency)
    • setDiscountAllowed

      public void setDiscountAllowed(boolean discountAllowed)
    • setPricingKey

      public void setPricingKey(String pricingKey)
    • setAsset

      public void setAsset(JpaSpecificItemChoiceAsset asset)
    • setVariantPricingOverrides

      public void setVariantPricingOverrides(List<JpaSpecificItemVariantPricing> variantPricingOverrides)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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