Class ConsolidatedProductRequiredOptionInfo
java.lang.Object
com.broadleafcommerce.catalog.domain.product.ConsolidatedProductRequiredOptionInfo
- All Implemented Interfaces:
Serializable
Summarizes information about a product's required options. This is used to make it easier for
search indexers to index the related information.
- Since:
- Catalog Service 2.1.5, Release Train 2.1.5
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountThe default choice'sSpecificItemChoice.getOverridePrice().javax.money.MonetaryAmountFrom the defaultSpecificItemChoice.getDefaultPrice().From the defaultSpecificItemChoice.getPricingKey().The defaultProductTermfor the defaultSpecificItemChoiceif relevant.From the defaultSpecificItemChoice.getUnderlyingPricingKey().From the defaultSpecificItemChoice.getUnderlyingSku().intFrom theItemChoice.getMinimumQuantity().javax.money.MonetaryAmountFrom theItemChoice.getOverridePrice().From theItemChoice.getPricingKey().From theItemChoice.getTargetType().inthashCode()voidsetDefaultChoiceOverridePrice(javax.money.MonetaryAmount defaultChoiceOverridePrice) The default choice'sSpecificItemChoice.getOverridePrice().voidsetDefaultChoicePrice(javax.money.MonetaryAmount defaultChoicePrice) From the defaultSpecificItemChoice.getDefaultPrice().voidsetDefaultChoicePricingKey(String defaultChoicePricingKey) From the defaultSpecificItemChoice.getPricingKey().voidsetDefaultChoiceUnderlyingDefaultTerm(ProductTerm defaultChoiceUnderlyingDefaultTerm) The defaultProductTermfor the defaultSpecificItemChoiceif relevant.voidsetDefaultChoiceUnderlyingPricingKey(String defaultChoiceUnderlyingPricingKey) From the defaultSpecificItemChoice.getUnderlyingPricingKey().voidsetDefaultChoiceUnderlyingSku(String defaultChoiceUnderlyingSku) From the defaultSpecificItemChoice.getUnderlyingSku().voidsetMinimumQuantity(int minimumQuantity) From theItemChoice.getMinimumQuantity().voidsetOverridePrice(javax.money.MonetaryAmount overridePrice) From theItemChoice.getOverridePrice().voidsetPricingKey(String pricingKey) From theItemChoice.getPricingKey().voidsetTargetType(String targetType) From theItemChoice.getTargetType().toString()
-
Constructor Details
-
ConsolidatedProductRequiredOptionInfo
public ConsolidatedProductRequiredOptionInfo()
-
-
Method Details
-
getPricingKey
From theItemChoice.getPricingKey(). -
getTargetType
From theItemChoice.getTargetType(). -
getOverridePrice
public javax.money.MonetaryAmount getOverridePrice()From theItemChoice.getOverridePrice(). -
getMinimumQuantity
public int getMinimumQuantity()From theItemChoice.getMinimumQuantity(). -
getDefaultChoicePricingKey
From the defaultSpecificItemChoice.getPricingKey(). -
getDefaultChoiceUnderlyingSku
From the defaultSpecificItemChoice.getUnderlyingSku(). -
getDefaultChoiceUnderlyingPricingKey
From the defaultSpecificItemChoice.getUnderlyingPricingKey(). -
getDefaultChoiceOverridePrice
public javax.money.MonetaryAmount getDefaultChoiceOverridePrice()The default choice'sSpecificItemChoice.getOverridePrice(). -
getDefaultChoicePrice
public javax.money.MonetaryAmount getDefaultChoicePrice()From the defaultSpecificItemChoice.getDefaultPrice().This may be the same as
defaultChoiceOverridePriceor else it is the underlying item's default price. -
getDefaultChoiceUnderlyingDefaultTerm
The defaultProductTermfor the defaultSpecificItemChoiceif relevant. -
setPricingKey
From theItemChoice.getPricingKey(). -
setTargetType
From theItemChoice.getTargetType(). -
setOverridePrice
public void setOverridePrice(javax.money.MonetaryAmount overridePrice) From theItemChoice.getOverridePrice(). -
setMinimumQuantity
public void setMinimumQuantity(int minimumQuantity) From theItemChoice.getMinimumQuantity(). -
setDefaultChoicePricingKey
From the defaultSpecificItemChoice.getPricingKey(). -
setDefaultChoiceUnderlyingSku
From the defaultSpecificItemChoice.getUnderlyingSku(). -
setDefaultChoiceUnderlyingPricingKey
From the defaultSpecificItemChoice.getUnderlyingPricingKey(). -
setDefaultChoiceOverridePrice
public void setDefaultChoiceOverridePrice(javax.money.MonetaryAmount defaultChoiceOverridePrice) The default choice'sSpecificItemChoice.getOverridePrice(). -
setDefaultChoicePrice
public void setDefaultChoicePrice(javax.money.MonetaryAmount defaultChoicePrice) From the defaultSpecificItemChoice.getDefaultPrice().This may be the same as
defaultChoiceOverridePriceor else it is the underlying item's default price. -
setDefaultChoiceUnderlyingDefaultTerm
The defaultProductTermfor the defaultSpecificItemChoiceif relevant. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-