Uses of Class
com.broadleafcommerce.catalogbrowse.domain.SpecificItemChoice
Packages that use SpecificItemChoice
Package
Description
-
Uses of SpecificItemChoice in com.broadleafcommerce.catalogbrowse.domain
Methods in com.broadleafcommerce.catalogbrowse.domain that return SpecificItemChoiceModifier and TypeMethodDescriptionItemChoice.getSpecificItemChoice()If theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTorDefaultItemChoiceTargetType.SPECIFIC_VARIANTthis holds the manually selected option that the customer can choose to add on.Methods in com.broadleafcommerce.catalogbrowse.domain that return types with arguments of type SpecificItemChoiceMethods in com.broadleafcommerce.catalogbrowse.domain with parameters of type SpecificItemChoiceModifier and TypeMethodDescriptionprotected booleanItemChoice.matchesDefaultVariantOrProduct(@NonNull SpecificItemChoice choice) Whether the underlyingVariantorProductof theSpecificItemChoicematches the default of theItemChoice.voidItemChoice.setSpecificItemChoice(SpecificItemChoice specificItemChoice) If theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTorDefaultItemChoiceTargetType.SPECIFIC_VARIANTthis holds the manually selected option that the customer can choose to add on.Method parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type SpecificItemChoiceModifier and TypeMethodDescriptionvoidItemChoice.setSpecificChoices(List<SpecificItemChoice> specificChoices) If theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTSorDefaultItemChoiceTargetType.SPECIFIC_VARIANTSthis holds the manually-curated options that the customer can choose from. -
Uses of SpecificItemChoice in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product with parameters of type SpecificItemChoiceModifier and TypeMethodDescriptionprotected Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductOptionsProductPriceableTargetsBuilder.buildSpecificItemChoiceTargetsForUnderlyingItem(@NonNull SpecificItemChoice choice, ExistingSubscriptionTerms existingTerms, boolean useDefaultTermOnly, Product parentsProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductOptionsProductPriceableTargetsBuilder.buildTargetForSpecificItemChoiceByPricingKey(@NonNull SpecificItemChoice choice, Product parentsProduct, ProductTerm term) Builds thePriceableTargetbased on aSpecific Choice's pricing key.protected Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductOptionsProductPriceableTargetsBuilder.buildTargetsForOtherSpecificItemChoiceType(@NonNull SpecificItemChoice choice, ExistingSubscriptionTerms existingTerms, boolean useDefaultTermOnly) Extension point to use if thegetType()is not one ofDefaultSpecificItemChoiceType.protected Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductOptionsProductPriceableTargetsBuilder.buildTargetsForSpecificItemChoice(@NonNull SpecificItemChoice choice, ExistingSubscriptionTerms existingTerms, boolean useDefaultTermOnly, Product parentsProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates thePriceableTargetsfor aSpecificItemChoice.protected Map<SpecificItemChoiceVariantPricingOverride,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> ProductOptionsProductPriceableTargetsBuilder.buildTargetsForSpecificItemChoiceVariantOverrides(@NonNull SpecificItemChoice choice) Deprecated, for removal: This API element is subject to removal in a future version.protected Map<PricingTargetKey,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> ProductOptionsProductPriceableTargetsBuilder.buildTargetsForWrappedSpecificItemChoiceVariantOverrides(@NonNull SpecificItemChoice choice) Builds thePriceableTargetsfor anyVariant pricing overridesfor aSpecificItemChoice, with theSpecificItemChoicekey wrapped withPricingTargetKey.ProductOptionsProductPriceableTargetsBuilder.createTargetsForOtherSpecificItemChoiceType(@NonNull SpecificItemChoice choice) ProductOptionsProductPriceableTargetsBuilder.createTargetsForSpecificItemChoice(@NonNull SpecificItemChoice choice) protected booleanProductOptionsProductPriceableTargetsBuilder.hasPriceableFields(@NonNull SpecificItemChoice choice) Determines whetherchoicehas an priceable fields of its own.protected booleanProductOptionsProductPriceableTargetsBuilder.itemChoiceHasPriceOverride(@NonNull SpecificItemChoice choice) Determines whether the givenSpecificItemChoicehas any price override, which can come from eithergetOverridePrice()orgetParentItemChoiceOverridePrice().protected booleanProductOptionsProductPriceableTargetsBuilder.shouldBuildPriceableTargetsForVariantsParentProduct(@NonNull SpecificItemChoice choice, @NonNull Variant variant, @NonNull String parentProductVariantPricingStrategy) Determines if the priceable targets for the variant's parent product should be built. -
Uses of SpecificItemChoice in com.broadleafcommerce.catalogbrowse.service.provider.external.search
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.search that return SpecificItemChoiceModifier and TypeMethodDescriptionprotected SpecificItemChoiceCatalogSearchUtils.buildLiteSpecificItemChoiceWithProduct(@NonNull SearchProductRequiredOptionInfo info) protected SpecificItemChoiceCatalogSearchUtils.buildLiteSpecificItemChoiceWithVariant(@NonNull SearchProductRequiredOptionInfo info)
ProductOptionsProductPriceableTargetsBuilder.buildTargetsForWrappedSpecificItemChoiceVariantOverrides(SpecificItemChoice).