Class JpaItemChoice
java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.product.option.JpaItemChoice
- All Implemented Interfaces:
Serializable
Persistent counterpart to
ItemChoice
.
For details about why this class is @Embeddable
, see the class-level javadoc of
JpaProductOption
.
- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.CurrencyUnit
javax.money.MonetaryAmount
int
hashCode()
void
setAttributes
(Map<String, Object> attributes) void
setCategoryContextId
(String categoryContextId) void
setChoiceKey
(String choiceKey) void
setCurrency
(javax.money.CurrencyUnit currency) void
setDefaultProductContextId
(String defaultProductContextId) void
setDefaultProductInCategoryContextId
(String defaultProductInCategoryContextId) void
setDefaultVariantContextId
(String defaultVariantContextId) void
setDiscountAllowed
(Boolean discountAllowed) void
setMaximumQuantity
(Integer maximumQuantity) void
setMinimumQuantity
(Integer minimumQuantity) void
setOverridePrice
(javax.money.MonetaryAmount overridePrice) void
setPricingKey
(String pricingKey) void
setSelectionType
(String selectionType) void
setSpecificChoices
(List<JpaSpecificItemChoice> specificChoices) void
setSpecificItemChoice
(JpaSpecificItemChoice specificItemChoice) void
setTargetType
(String targetType) toString()
-
Constructor Details
-
JpaItemChoice
public JpaItemChoice()
-
-
Method Details
-
setOverridePrice
public void setOverridePrice(javax.money.MonetaryAmount overridePrice) -
getOverridePrice
public javax.money.MonetaryAmount getOverridePrice() -
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) -
getChoiceKey
-
getTargetType
-
getSelectionType
-
getMaximumQuantity
-
getMinimumQuantity
-
getCurrency
public javax.money.CurrencyUnit getCurrency() -
getDiscountAllowed
-
getPricingKey
-
getCategoryContextId
-
getDefaultProductInCategoryContextId
-
getDefaultProductContextId
-
getDefaultVariantContextId
-
getSpecificChoices
-
getSpecificItemChoice
-
getAttributes
-
setChoiceKey
-
setTargetType
-
setSelectionType
-
setMaximumQuantity
-
setMinimumQuantity
-
setDiscountAllowed
-
setPricingKey
-
setCategoryContextId
-
setDefaultProductInCategoryContextId
-
setDefaultProductContextId
-
setDefaultVariantContextId
-
setSpecificChoices
-
setSpecificItemChoice
-
setAttributes
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-