Uses of Class
com.broadleafcommerce.catalogbrowse.domain.Variant
Packages that use Variant
Package
Description
-
Uses of Variant in com.broadleafcommerce.catalogbrowse.domain
Methods in com.broadleafcommerce.catalogbrowse.domain that return VariantModifier and TypeMethodDescriptionItemChoice.getDefaultVariant()The default variant that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_VARIANTS.IncludedProduct.getVariant()This field contains the specified variant if thetypeisDefaultIncludedProductType.VARIANT.SpecificItemChoice.getVariant()If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.VARIANTthis holds the variant for this choiceMethods in com.broadleafcommerce.catalogbrowse.domain that return types with arguments of type VariantMethods in com.broadleafcommerce.catalogbrowse.domain with parameters of type VariantModifier and TypeMethodDescriptionvoidItemChoice.setDefaultVariant(Variant defaultVariant) The default variant that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_VARIANTS.voidIncludedProduct.setVariant(Variant variant) This field contains the specified variant if thetypeisDefaultIncludedProductType.VARIANT.voidSpecificItemChoice.setVariant(Variant variant) If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.VARIANTthis holds the variant for this choiceMethod parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type VariantModifier and TypeMethodDescriptionvoidProduct.setVariants(List<Variant> variants) AllVariantsfor this product. -
Uses of Variant in com.broadleafcommerce.catalogbrowse.service
Methods in com.broadleafcommerce.catalogbrowse.service with parameters of type VariantModifier and TypeMethodDescriptionprotected LineItemDTODefaultMarketingMessageUtils.buildLineItemFromVariant(@NonNull Product product, @NonNull Variant variant) -
Uses of Variant in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory with type parameters of type VariantModifier and TypeMethodDescriptionprotected <V extends Variant>
booleanExternalInventoryProvider.variantRequiresInventoryCheck(V variant, @NonNull Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of Variant in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing with parameters of type VariantModifier and TypeMethodDescriptionprotected <T extends com.broadleafcommerce.pricing.client.domain.PriceInfo>
Optional<T>ExternalPricingProvider.checkForPriceInfoForVariantFromPriceList(List<T> candidatePriceInfos, Variant variant) protected <T extends com.broadleafcommerce.pricing.client.domain.PriceInfo>
Optional<T>ExternalPricingProvider.getPriceInfoForVariant(Variant variant, List<T> candidatePriceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext) protected booleanExternalPricingProvider.isDirectVariantPrice(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, Variant variant) protected booleanExternalPricingProvider.isTargetingVariantSku(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, Variant variant) protected booleanExternalPricingProvider.isValidPriceSourceForVariantSku(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, Variant variant) protected booleanExternalPricingProvider.variantHasPrice(Variant variant) -
Uses of Variant in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product with parameters of type VariantModifier and TypeMethodDescriptionprotected ProductDetailsRequestProductOptionsProductPriceableTargetsBuilder.buildProductDetailsRequest(@NonNull Variant variant, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForProductPricingKey(@NonNull Variant variant, @NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Creates thePriceableTargetfor aVariantusing its owning product'spricingKeyasPriceableTarget.getTargetId().protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForProductPricingKey(@NonNull Variant variant, @NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, ProductTerm term) Creates thePriceableTargetfor aVariantusing its owning product'spricingKeyasPriceableTarget.getTargetId().protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForSku(@NonNull Variant variant, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, Product product) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForSku(@NonNull Variant variant, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, Product product, ProductTerm term) Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>VariantPriceableTargetUtils.createTargets(@NonNull Variant variant, Product product) CreatesPriceableTargetsfor aVariant.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 Variant in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product.domain
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product.domain that return VariantModifier and TypeMethodDescriptionVariantPriceableTargetRequest.getVariant()Variantfor which to createPriceableTargets.Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product.domain with parameters of type VariantModifier and TypeMethodDescriptionvoidVariantPriceableTargetRequest.setVariant(Variant variant) Variantfor which to createPriceableTargets. -
Uses of Variant in com.broadleafcommerce.catalogbrowse.service.provider.external.search
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.search that return VariantModifier and TypeMethodDescriptionprotected VariantCatalogSearchUtils.buildLiteItemChoiceVariant(@NonNull SearchProductRequiredOptionInfo info)