Class JpaSpecificItemChoice
java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.product.option.JpaSpecificItemChoice
- All Implemented Interfaces:
Serializable
Persistent counterpart to
SpecificItemChoice
.- Author:
- Phillip Verheyden (phillipuniverse)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addFromMeMappings
(org.modelmapper.ModelMapper mapper) static void
addToMeMappings
(org.modelmapper.ModelMapper mapper) protected boolean
boolean
getAsset()
javax.money.CurrencyUnit
javax.money.MonetaryAmount
getType()
int
hashCode()
boolean
void
void
setCurrency
(javax.money.CurrencyUnit currency) void
setCurrencyUnit
(javax.money.CurrencyUnit currency) void
setDiscountAllowed
(boolean discountAllowed) void
setNameOverride
(String nameOverride) void
setOverridePrice
(javax.money.MonetaryAmount amount) void
setPricingKey
(String pricingKey) void
setProductContextId
(String productContextId) void
void
setVariantContextId
(String variantContextId) void
setVariantParentProductContextId
(String variantParentProductContextId) void
setVariantPricingOverrides
(List<JpaSpecificItemVariantPricing> variantPricingOverrides) toString()
-
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
-
getProductContextId
-
getVariantContextId
-
getVariantParentProductContextId
-
getNameOverride
-
getCurrency
public javax.money.CurrencyUnit getCurrency() -
isDiscountAllowed
public boolean isDiscountAllowed() -
getPricingKey
-
getAsset
-
getVariantPricingOverrides
-
setType
-
setProductContextId
-
setVariantContextId
-
setVariantParentProductContextId
-
setNameOverride
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) -
setDiscountAllowed
public void setDiscountAllowed(boolean discountAllowed) -
setPricingKey
-
setAsset
-
setVariantPricingOverrides
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-