Class ConsolidatedProduct
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConsolidatedProduct(Product product, List<Variant> variants, CategoryRef primaryCategory, List<CategoryRef> explicitCategories, List<CategoryRef> categories, List<DataDrivenEnum> dataDrivenEnums, Map<String, ProductAsset> optionAssets, Map<String, ProductCharacteristic> characteristics, List<ProductAsset> allAssets, String vendorRef, Map<String, String> productSortingWithinCategories, Set<String> catalogOverrides, Set<String> sandboxAwareCatalogOverrides, String creatingApplicationId, Set<String> catalogOmissions, Set<String> sandboxOverrides, Set<String> catalogAwareSandboxOverrides, List<com.broadleafcommerce.translation.domain.Translation> translations, Set<String> marketplaceApplications, Set<String> pendingMarketplaceApplications, boolean archived, String sandboxOwner, boolean hasRequiredOptions, boolean requiredOptionsAvailable, List<ConsolidatedProductRequiredOptionInfo> requiredOptionInfos, List<AdvancedTagRef> advancedTags) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAllProductAssetinstances associated with this product.<T> TgetAttribute(String name) getBrand()This is similar togetSandboxOverrides(), except the values within are encoded with additional information about the catalog state of the override.The IDs of descendant catalogs in which this context version of the product has been omitted as a result of one or more filters.The IDs of descendant catalogs in which this context version of the product has been overridden.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStatejavax.money.MonetaryAmountgetCost()TheTracking.getCreatingApplicationId()of the entity.javax.money.CurrencyUnitjavax.money.MonetaryAmountgetId()The IDs of marketplace applications where this product could appear in, based on the catalog hierarchy.javax.money.MonetaryAmountgetMsrp()getName()The IDs of marketplace applications where this product could appear in, based on the pending catalog.javax.money.MonetaryAmountThis is a map of Category ID to sorting value from theCategoryProduct.If the product has required options, this will be populated with aConsolidatedProductRequiredOptionInfofor each, summarizing the information about them for indexing.javax.money.MonetaryAmountThis is similar togetCatalogOverrides(), except the values within are encoded with additional information about the sandbox state of the override.Information about sandboxes in which this context version of the product has been overridden.The owner of the sandboxed product if it's in a user sandbox.getSku()getTags()getTerms()List<com.broadleafcommerce.translation.domain.Translation>Translations for the product and all translatable consolidated objects.getUpc()getUri()Soft reference to the vendor associated with the Product's catalog.inthashCode()booleanisActive()booleanbooleanbooleanWhether or not this product has been archived in this context state.booleanbooleanbooleanbooleanDoes this product have required options? In other words, does it have anyitem choiceswith a minimum quantity greater than 0.booleanbooleanbooleanDeprecated.booleanisOnline()booleanisOnSale()booleanIf this product hasrequired options, are there enough available item choices to purchase this product? Note: IfhasRequiredOptionsis false, this property should be ignored.booleanbooleanvoidsetActiveEndDate(Instant activeEndDate) voidsetActiveStartDate(Instant activeStartDate) voidsetAdvancedTags(List<AdvancedTagRef> advancedTags) voidsetAllAssets(List<ProductAsset> allAssets) AllProductAssetinstances associated with this product.voidsetAllowAutoRenewalModification(Boolean allowAutoRenewalModification) voidsetAllowChangingBillingFrequency(boolean allowChangingBillingFrequency) voidsetAllowQtyEditAfterInitialPurchase(boolean allowQtyEditAfterInitialPurchase) voidsetArchived(boolean archived) Whether or not this product has been archived in this context state.voidsetAttributes(Map<String, Attribute> attributes) voidsetAutoRenewalEnabled(Boolean autoRenewalEnabled) voidsetAvailableOnline(boolean availableOnline) voidsetBrand(DataDrivenEnum brand) voidsetBusinessType(String businessType) voidsetCancellationPolicyRef(String cancellationPolicyRef) voidsetCatalogAwareSandboxOverrides(Set<String> catalogAwareSandboxOverrides) This is similar togetSandboxOverrides(), except the values within are encoded with additional information about the catalog state of the override.voidsetCatalogOmissions(Set<String> catalogOmissions) The IDs of descendant catalogs in which this context version of the product has been omitted as a result of one or more filters.voidsetCatalogOverrides(Set<String> catalogOverrides) The IDs of descendant catalogs in which this context version of the product has been overridden.voidsetCategories(List<CategoryRef> categories) voidsetCharacteristics(Map<String, ProductCharacteristic> characteristics) voidsetCharacteristicsFromList(List<ProductCharacteristic> characteristics) Sets thecharacteristicsmap from a list ofProductCharacteristic.voidsetCharacteristicsOverriddenHint(Boolean characteristicsOverriddenHint) voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) voidsetCost(javax.money.MonetaryAmount cost) voidsetCreatingApplicationId(String creatingApplicationId) TheTracking.getCreatingApplicationId()of the entity.voidsetCurrency(javax.money.CurrencyUnit currency) voidsetDataDrivenEnums(List<DataDrivenEnum> dataDrivenEnums) voidsetDefaultFrequency(ProductRecurringFrequency defaultFrequency) voidsetDefaultPrice(javax.money.MonetaryAmount defaultPrice) voidsetDefaultVariant(Variant defaultVariant) voidsetDescription(String description) voidsetDimension(Dimensions dimension) voidsetDiscountable(boolean discountable) voidsetDisplayTemplate(String displayTemplate) voidsetDowngradeProductIds(List<String> downgradeProductIds) voidsetEligibleForPickup(boolean eligibleForPickup) voidsetExplicitCategories(List<CategoryRef> explicitCategories) voidsetExternalId(String externalId) voidsetFulfillmentFlatRates(Map<String, FulfillmentFlatRate> fulfillmentFlatRates) voidsetFulfillmentWorkflow(DataDrivenEnum fulfillmentWorkflow) voidsetHasRequiredOptions(boolean hasRequiredOptions) Does this product have required options? In other words, does it have anyitem choiceswith a minimum quantity greater than 0.voidsetHasVariants(boolean hasVariants) voidvoidsetIncludedProducts(List<IncludedProduct> includedProducts) voidsetIndividuallySold(boolean individuallySold) voidsetInventoryCheckStrategy(String inventoryCheckStrategy) voidsetInventoryReservationStrategy(String inventoryReservationStrategy) voidsetInventoryType(String inventoryType) voidsetKeywords(List<String> keywords) voidsetMarketplaceApplications(Set<String> marketplaceApplications) The IDs of marketplace applications where this product could appear in, based on the catalog hierarchy.voidsetMaximumThreshold(Integer maximumThreshold) voidsetMaxNumberOfActiveSubscriptions(Integer maxNumberOfActiveSubscriptions) voidsetMerchandisingProduct(boolean merchandisingProduct) Deprecated.voidsetMerchandisingType(DataDrivenEnum merchandisingType) voidsetMergingType(String mergingType) voidsetMetaDescription(String metaDescription) voidsetMetaTitle(String metaTitle) voidsetMinimumThreshold(Integer minimumThreshold) voidsetMsrp(javax.money.MonetaryAmount msrp) voidvoidsetOnline(boolean online) voidsetOptionAssets(Map<String, ProductAsset> optionAssets) voidsetOptions(List<ProductOption> options) voidsetPaymentStrategy(String paymentStrategy) voidsetPendingMarketplaceApplications(Set<String> pendingMarketplaceApplications) The IDs of marketplace applications where this product could appear in, based on the pending catalog.voidsetPricingCategory(String pricingCategory) voidsetPricingKey(String pricingKey) voidsetPrimaryAsset(ProductAsset primaryAsset) voidsetPrimaryCategory(CategoryRef primaryCategory) voidsetProduct(Product product) voidsetProductSortingWithinCategories(Map<String, String> productSortingWithinCategories) This is a map of Category ID to sorting value from theCategoryProduct.voidsetProductType(String productType) voidsetRequiredOptionInfos(List<ConsolidatedProductRequiredOptionInfo> requiredOptionInfos) If the product has required options, this will be populated with aConsolidatedProductRequiredOptionInfofor each, summarizing the information about them for indexing.voidsetRequiredOptionsAvailable(boolean requiredOptionsAvailable) If this product hasrequired options, are there enough available item choices to purchase this product? Note: IfhasRequiredOptionsis false, this property should be ignored.voidsetRestrictDowngradeAfterDays(Integer restrictDowngradeAfterDays) voidsetReviewsSummary(ReviewsSummary reviewsSummary) voidsetSalePrice(javax.money.MonetaryAmount salePrice) voidsetSandboxAwareCatalogOverrides(Set<String> sandboxAwareCatalogOverrides) This is similar togetCatalogOverrides(), except the values within are encoded with additional information about the sandbox state of the override.voidsetSandboxOverrides(Set<String> sandboxOverrides) Information about sandboxes in which this context version of the product has been overridden.voidsetSandboxOwner(String sandboxOwner) The owner of the sandboxed product if it's in a user sandbox.voidsetSearchable(boolean searchable) voidvoidsetSubscription(boolean isSubscription) voidvoidsetTargetDemographic(DataDrivenEnum targetDemographic) voidsetTaxCode(String taxCode) voidsetTerms(List<ProductTerm> terms) voidsetTranslations(List<com.broadleafcommerce.translation.domain.Translation> translations) Translations for the product and all translatable consolidated objects.voidvoidsetUpgradeProductIds(List<String> upgradeProductIds) voidvoidsetVariantPricingStrategy(String variantPricingStrategy) voidsetVariants(List<Variant> variants) voidsetVariantsToGenerate(List<Set<ProductOptionValueCombination>> variantsToGenerate) voidsetVendorRef(String vendorRef) Soft reference to the vendor associated with the Product's catalog.voidtoString()
-
Constructor Details
-
ConsolidatedProduct
public ConsolidatedProduct() -
ConsolidatedProduct
public ConsolidatedProduct(Product product, List<Variant> variants, CategoryRef primaryCategory, List<CategoryRef> explicitCategories, List<CategoryRef> categories, List<DataDrivenEnum> dataDrivenEnums, Map<String, ProductAsset> optionAssets, Map<String, ProductCharacteristic> characteristics, List<ProductAsset> allAssets, String vendorRef, Map<String, String> productSortingWithinCategories, Set<String> catalogOverrides, Set<String> sandboxAwareCatalogOverrides, String creatingApplicationId, Set<String> catalogOmissions, Set<String> sandboxOverrides, Set<String> catalogAwareSandboxOverrides, List<com.broadleafcommerce.translation.domain.Translation> translations, Set<String> marketplaceApplications, Set<String> pendingMarketplaceApplications, boolean archived, String sandboxOwner, boolean hasRequiredOptions, boolean requiredOptionsAvailable, List<ConsolidatedProductRequiredOptionInfo> requiredOptionInfos, List<AdvancedTagRef> advancedTags)
-
-
Method Details
-
setCharacteristicsFromList
Sets thecharacteristicsmap from a list ofProductCharacteristic.- Parameters:
characteristics- the list of product characteristics- Since:
- Catalog Service 2.3.0, Release Train 2.3.0
-
getProduct
-
getVariants
-
getPrimaryCategory
-
getExplicitCategories
-
getCategories
-
getDataDrivenEnums
-
getOptionAssets
-
getCharacteristics
-
getAllAssets
AllProductAssetinstances associated with this product. -
getVendorRef
Soft reference to the vendor associated with the Product's catalog. This value can be null, in which case, no vendor is associated.- Returns:
- soft reference to the vendor associated with the Product's catalog.
-
getProductSortingWithinCategories
This is a map of Category ID to sorting value from theCategoryProduct. -
getCatalogOverrides
The IDs of descendant catalogs in which this context version of the product has been overridden.
Note that this is regardless of whether the override in the descendant catalog is a user-level sandbox record, a higher-than-user-level (ex: promoted) sandbox record, or production. The existence of any override record will cause this field to be populated.
e.g. if this product is in catalog A, and catalog B inherits this product from catalog A but contains a local change for this product, then the catalog A version product will contain "B" in its catalogOverrides.
- Returns:
- the IDs of any descendant catalogs in which this product has been overridden
- See Also:
-
getSandboxAwareCatalogOverrides
This is similar to
getCatalogOverrides(), except the values within are encoded with additional information about the sandbox state of the override.- If there is an override of this record at a production level, it will follow the format:
catalogId, where catalogId is the ID of the descendant catalog containing the override - If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
catalogId;sandboxId, where catalogId is the ID of the descendant catalog containing the override, and sandboxId is the ID of the sandbox containing the override - If there is an override of this record at a user sandbox level, it will follow the
format:
catalogId;sandboxId;sandboxOwner, where catalogId is the ID of the descendant catalog containing the override, sandboxId is the ID of the sandbox containing the override, and sandboxOwner is the author of the user-level change
This special encoding makes it possible for consumers to more clearly distinguish the contexts in which the current record has been overridden.
- Since:
- CatalogServices 2.2.1, Release Train 2.2.1, CatalogServices 2.1.5, Release Train 2.1.5
- If there is an override of this record at a production level, it will follow the format:
-
getCreatingApplicationId
TheTracking.getCreatingApplicationId()of the entity.- Since:
- CatalogServices 2.2.1, Release Train 2.2.1, CatalogServices 2.1.5, Release Train 2.1.5
-
getCatalogOmissions
The IDs of descendant catalogs in which this context version of the product has been omitted as a result of one or more filters.e.g. if this product is in catalog A, and catalog B inherits this product from catalog A but contains a filter that removes it from the view of catalog B, then the catalog A version product will contain "B" in its catalogOmissions.
- Returns:
- the IDs of any descendant catalogs in which this product has been omitted.
-
getSandboxOverrides
Information about sandboxes in which this context version of the product has been overridden.
e.g. if this product is at a promoted state is in sandbox A, and there is also a user-level change for the same product in sandbox A, then the promoted record will contain a value in this field to indicate the existence of the user-level record.
- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
sandboxId, where sandboxId is the ID of the sandbox containing the override - If there is an override of this record at a user sandbox level, it will follow the
format:
sandboxId,sandboxOwner, where sandboxId is the ID of the sandbox containing the override, and sandboxOwner is the author of the user-level change
- Returns:
- the specially encoded values indicating any sandboxes in which this product has been overridden
- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
-
getCatalogAwareSandboxOverrides
This is similar to
getSandboxOverrides(), except the values within are encoded with additional information about the catalog state of the override.This is only useful for entities that are both
TrackableBehavior.CATALOGandTrackableBehavior.SANDBOXdiscriminated.- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
sandboxId;catalogId, where sandboxId is the ID of the sandbox containing the override, and catalogId is the ID of the catalog containing the override - If there is an override of this record at a user sandbox level, it will follow the
format:
sandboxId,sandboxOwner;catalogId, where sandboxId is the ID of the sandbox containing the override, and catalogId is the ID of the catalog containing the override, and sandboxOwner is the author of the user-level change
This special encoding makes it possible for consumers to more clearly distinguish the contexts in which the current record has been overridden.
- Since:
- CatalogServices 2.2.1, Release Train 2.2.1, CatalogServices 2.1.5, Release Train 2.1.5
- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
-
getTranslations
Translations for the product and all translatable consolidated objects. -
getMarketplaceApplications
The IDs of marketplace applications where this product could appear in, based on the catalog hierarchy. -
getPendingMarketplaceApplications
The IDs of marketplace applications where this product could appear in, based on the pending catalog. -
isArchived
public boolean isArchived()Whether or not this product has been archived in this context state. -
getSandboxOwner
The owner of the sandboxed product if it's in a user sandbox.This will only be populated if the
ProductContextStatelevel isTrackingLevel.USER. -
isHasRequiredOptions
public boolean isHasRequiredOptions()Does this product have required options? In other words, does it have anyitem choiceswith a minimum quantity greater than 0. -
isRequiredOptionsAvailable
public boolean isRequiredOptionsAvailable()If this product hasrequired options, are there enough available item choices to purchase this product? Note: IfhasRequiredOptionsis false, this property should be ignored. -
getRequiredOptionInfos
If the product has required options, this will be populated with aConsolidatedProductRequiredOptionInfofor each, summarizing the information about them for indexing. By default, this only applies tomerchandising productssince their prices are determined by the choices so additional information may be necessary for correct pricing.- Since:
- Catalog Service 2.1.5, Release Train 2.1.5
-
getAdvancedTags
- Returns:
Referencesto theAdvancedTagsrelated to this product via anyProductTags.
-
setProduct
-
setVariants
-
setPrimaryCategory
-
setExplicitCategories
-
setCategories
-
setDataDrivenEnums
-
setOptionAssets
-
setCharacteristics
-
setAllAssets
AllProductAssetinstances associated with this product. -
setVendorRef
Soft reference to the vendor associated with the Product's catalog. This value can be null, in which case, no vendor is associated.- Parameters:
vendorRef- soft reference to the vendor associated with the Product's catalog.
-
setProductSortingWithinCategories
This is a map of Category ID to sorting value from theCategoryProduct. -
setCatalogOverrides
The IDs of descendant catalogs in which this context version of the product has been overridden.
Note that this is regardless of whether the override in the descendant catalog is a user-level sandbox record, a higher-than-user-level (ex: promoted) sandbox record, or production. The existence of any override record will cause this field to be populated.
e.g. if this product is in catalog A, and catalog B inherits this product from catalog A but contains a local change for this product, then the catalog A version product will contain "B" in its catalogOverrides.
- Parameters:
catalogOverrides- the IDs of any descendant catalogs in which this product has been overridden- See Also:
-
setSandboxAwareCatalogOverrides
This is similar to
getCatalogOverrides(), except the values within are encoded with additional information about the sandbox state of the override.- If there is an override of this record at a production level, it will follow the format:
catalogId, where catalogId is the ID of the descendant catalog containing the override - If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
catalogId;sandboxId, where catalogId is the ID of the descendant catalog containing the override, and sandboxId is the ID of the sandbox containing the override - If there is an override of this record at a user sandbox level, it will follow the
format:
catalogId;sandboxId;sandboxOwner, where catalogId is the ID of the descendant catalog containing the override, sandboxId is the ID of the sandbox containing the override, and sandboxOwner is the author of the user-level change
This special encoding makes it possible for consumers to more clearly distinguish the contexts in which the current record has been overridden.
- Since:
- CatalogServices 2.2.1, Release Train 2.2.1, CatalogServices 2.1.5, Release Train 2.1.5
- If there is an override of this record at a production level, it will follow the format:
-
setCreatingApplicationId
TheTracking.getCreatingApplicationId()of the entity.- Since:
- CatalogServices 2.2.1, Release Train 2.2.1, CatalogServices 2.1.5, Release Train 2.1.5
-
setCatalogOmissions
The IDs of descendant catalogs in which this context version of the product has been omitted as a result of one or more filters.e.g. if this product is in catalog A, and catalog B inherits this product from catalog A but contains a filter that removes it from the view of catalog B, then the catalog A version product will contain "B" in its catalogOmissions.
- Parameters:
catalogOmissions- the IDs of any descendant catalogs in which this product has been omitted.
-
setSandboxOverrides
Information about sandboxes in which this context version of the product has been overridden.
e.g. if this product is at a promoted state is in sandbox A, and there is also a user-level change for the same product in sandbox A, then the promoted record will contain a value in this field to indicate the existence of the user-level record.
- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
sandboxId, where sandboxId is the ID of the sandbox containing the override - If there is an override of this record at a user sandbox level, it will follow the
format:
sandboxId,sandboxOwner, where sandboxId is the ID of the sandbox containing the override, and sandboxOwner is the author of the user-level change
- Parameters:
sandboxOverrides- specially encoded values indicating any sandboxes in which this product has been overridden
- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
-
setCatalogAwareSandboxOverrides
This is similar to
getSandboxOverrides(), except the values within are encoded with additional information about the catalog state of the override.This is only useful for entities that are both
TrackableBehavior.CATALOGandTrackableBehavior.SANDBOXdiscriminated.- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
sandboxId;catalogId, where sandboxId is the ID of the sandbox containing the override, and catalogId is the ID of the catalog containing the override - If there is an override of this record at a user sandbox level, it will follow the
format:
sandboxId,sandboxOwner;catalogId, where sandboxId is the ID of the sandbox containing the override, and catalogId is the ID of the catalog containing the override, and sandboxOwner is the author of the user-level change
This special encoding makes it possible for consumers to more clearly distinguish the contexts in which the current record has been overridden.
- Since:
- CatalogServices 2.2.1, Release Train 2.2.1, CatalogServices 2.1.5, Release Train 2.1.5
- If there is an override of this record at a higher-than-user (ex: promoted) sandbox
level, it will follow the format:
-
setTranslations
public void setTranslations(List<com.broadleafcommerce.translation.domain.Translation> translations) Translations for the product and all translatable consolidated objects. -
setMarketplaceApplications
The IDs of marketplace applications where this product could appear in, based on the catalog hierarchy. -
setPendingMarketplaceApplications
The IDs of marketplace applications where this product could appear in, based on the pending catalog. -
setArchived
public void setArchived(boolean archived) Whether or not this product has been archived in this context state. -
setSandboxOwner
The owner of the sandboxed product if it's in a user sandbox.This will only be populated if the
ProductContextStatelevel isTrackingLevel.USER. -
setHasRequiredOptions
public void setHasRequiredOptions(boolean hasRequiredOptions) Does this product have required options? In other words, does it have anyitem choiceswith a minimum quantity greater than 0. -
setRequiredOptionsAvailable
public void setRequiredOptionsAvailable(boolean requiredOptionsAvailable) If this product hasrequired options, are there enough available item choices to purchase this product? Note: IfhasRequiredOptionsis false, this property should be ignored. -
setRequiredOptionInfos
If the product has required options, this will be populated with aConsolidatedProductRequiredOptionInfofor each, summarizing the information about them for indexing. By default, this only applies tomerchandising productssince their prices are determined by the choices so additional information may be necessary for correct pricing.- Since:
- Catalog Service 2.1.5, Release Train 2.1.5
-
setAdvancedTags
- Parameters:
advancedTags-Referencesto theAdvancedTagsrelated to this product via anyProductTags.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getAttribute
-
isActive
public boolean isActive() -
isOnSale
public boolean isOnSale() -
getBusinessType
-
getPriceWithDependentItems
public javax.money.MonetaryAmount getPriceWithDependentItems() -
getDefaultTerm
-
getId
-
getName
-
getUri
-
getDescription
-
getSku
-
getUpc
-
getExternalId
-
getCurrency
public javax.money.CurrencyUnit getCurrency() -
getPricingKey
-
getMsrp
public javax.money.MonetaryAmount getMsrp() -
getDefaultPrice
public javax.money.MonetaryAmount getDefaultPrice() -
getSalePrice
public javax.money.MonetaryAmount getSalePrice() -
getCost
public javax.money.MonetaryAmount getCost() -
getMetaTitle
-
getMetaDescription
-
getDisplayTemplate
-
isOnline
public boolean isOnline() -
isDiscountable
public boolean isDiscountable() -
getAutoRenewalEnabled
-
getAllowAutoRenewalModification
-
getInventoryType
-
getMergingType
-
isAvailableOnline
public boolean isAvailableOnline() -
getInventoryCheckStrategy
-
getInventoryReservationStrategy
-
isEligibleForPickup
public boolean isEligibleForPickup() -
getFulfillmentFlatRates
-
getActiveStartDate
-
getActiveEndDate
-
getDimension
-
getWeight
-
isSearchable
public boolean isSearchable() -
isIndividuallySold
public boolean isIndividuallySold() -
isMerchandisingProduct
Deprecated. -
getProductType
-
getKeywords
-
getVariantsToGenerate
-
getDefaultFrequency
-
getTerms
-
getPaymentStrategy
-
getAttributes
-
getIncludedProducts
-
getOptions
-
getReviewsSummary
-
getPrimaryAsset
-
getTags
-
getBrand
-
getMerchandisingType
-
getTargetDemographic
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
getTaxCode
-
getMinimumThreshold
-
getMaximumThreshold
-
getDefaultVariant
-
isHasVariants
public boolean isHasVariants() -
isSubscription
public boolean isSubscription() -
isAllowQtyEditAfterInitialPurchase
public boolean isAllowQtyEditAfterInitialPurchase() -
isAllowChangingBillingFrequency
public boolean isAllowChangingBillingFrequency() -
getUpgradeProductIds
-
getDowngradeProductIds
-
getRestrictDowngradeAfterDays
-
getMaxNumberOfActiveSubscriptions
-
getFulfillmentWorkflow
-
getCancellationPolicyRef
-
getPricingCategory
-
getVariantPricingStrategy
-
getCharacteristicsOverriddenHint
-
setId
-
setName
-
setUri
-
setDescription
-
setSku
-
setUpc
-
setExternalId
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) -
setPricingKey
-
setMsrp
public void setMsrp(javax.money.MonetaryAmount msrp) -
setDefaultPrice
public void setDefaultPrice(javax.money.MonetaryAmount defaultPrice) -
setSalePrice
public void setSalePrice(javax.money.MonetaryAmount salePrice) -
setCost
public void setCost(javax.money.MonetaryAmount cost) -
setMetaTitle
-
setMetaDescription
-
setDisplayTemplate
-
setOnline
public void setOnline(boolean online) -
setDiscountable
public void setDiscountable(boolean discountable) -
setAutoRenewalEnabled
-
setAllowAutoRenewalModification
-
setInventoryType
-
setMergingType
-
setAvailableOnline
public void setAvailableOnline(boolean availableOnline) -
setInventoryCheckStrategy
-
setInventoryReservationStrategy
-
setEligibleForPickup
public void setEligibleForPickup(boolean eligibleForPickup) -
setFulfillmentFlatRates
-
setActiveStartDate
-
setActiveEndDate
-
setDimension
-
setWeight
-
setSearchable
public void setSearchable(boolean searchable) -
setIndividuallySold
public void setIndividuallySold(boolean individuallySold) -
setMerchandisingProduct
Deprecated. -
setProductType
-
setBusinessType
-
setKeywords
-
setVariantsToGenerate
-
setDefaultFrequency
-
setTerms
-
setPaymentStrategy
-
setAttributes
-
setIncludedProducts
-
setOptions
-
setReviewsSummary
-
setPrimaryAsset
-
setTags
-
setBrand
-
setMerchandisingType
-
setTargetDemographic
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) - Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
setTaxCode
-
setMinimumThreshold
-
setMaximumThreshold
-
setDefaultVariant
-
setHasVariants
public void setHasVariants(boolean hasVariants) -
setSubscription
public void setSubscription(boolean isSubscription) -
setAllowQtyEditAfterInitialPurchase
public void setAllowQtyEditAfterInitialPurchase(boolean allowQtyEditAfterInitialPurchase) -
setAllowChangingBillingFrequency
public void setAllowChangingBillingFrequency(boolean allowChangingBillingFrequency) -
setUpgradeProductIds
-
setDowngradeProductIds
-
setRestrictDowngradeAfterDays
-
setMaxNumberOfActiveSubscriptions
-
setFulfillmentWorkflow
-
setCancellationPolicyRef
-
setPricingCategory
-
setVariantPricingStrategy
-
setCharacteristicsOverriddenHint
-