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(Product product, 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 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.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 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.createTargetForSku(@NonNull Variant variant, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>VariantPriceableTargetUtils.createTargets(@NonNull Variant variant, Product product) CreatesPriceableTargetsfor aVariant.VariantPriceableTargetUtils.getPriceableFields(@NonNull Variant variant, Product product) Builds the map of priceable fields for aVariantthat will be added asPriceableTarget.getPriceableFields().