Uses of Class
com.broadleafcommerce.catalogbrowse.domain.Variant
-
-
Uses of Variant in com.broadleafcommerce.catalogbrowse.domain
Methods in com.broadleafcommerce.catalogbrowse.domain that return Variant Modifier and Type Method Description VariantItemChoice. getDefaultVariant()The default variant that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_VARIANTS.VariantIncludedProduct. getVariant()This field contains the specified variant if thetypeisDefaultIncludedProductType.VARIANT.VariantSpecificItemChoice. getVariant()If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.VARIANTthis holds the variant for this choiceMethods in com.broadleafcommerce.catalogbrowse.domain that return types with arguments of type Variant Modifier and Type Method Description List<Variant>Product. getVariants()AllVariantsfor this product.Methods in com.broadleafcommerce.catalogbrowse.domain with parameters of type Variant Modifier and Type Method Description voidItemChoice. 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 Variant Modifier and Type Method Description voidProduct. 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 Variant Modifier and Type Method Description protected LineItemDTODefaultMarketingMessageUtils. buildLineItemFromVariant(Product product, Variant variant) -
Uses of Variant in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing with parameters of type Variant Modifier and Type Method Description protected booleanExternalPricingProvider. isTargetingVariantSku(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, 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 Variant Modifier and Type Method Description 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. 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.protected Map<String,javax.money.MonetaryAmount>VariantPriceableTargetUtils. getPriceableFields(@NonNull Variant variant, Product product)Builds the map of priceable fields for aVariantthat will be added asPriceableTarget.getPriceableFields().
-