Interface Priceable
-
- All Known Implementing Classes:
IncludedProduct,ItemChoice,Product,PromotionalProduct,SpecificItemChoice,SpecificItemChoiceVariantPricingOverride,Variant
public interface PriceableMarks a class as a candidate for pricing from the Pricing Service.This should be used to aid the
PricingProviderin mappingPriceInfosback onto their respective owners.- Author:
- Nathan Moore (nathandmoore)
- See Also:
PricingProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.broadleafcommerce.pricing.client.domain.PriceInfogetPriceInfo()Retrieves thePriceInfoon the entity.voidsetPriceInfo(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo)Sets thePriceInfoon the entity.
-
-
-
Method Detail
-
getPriceInfo
@Nullable com.broadleafcommerce.pricing.client.domain.PriceInfo getPriceInfo()
Retrieves thePriceInfoon the entity.- Returns:
- The
PriceInfoon the entity.
-
setPriceInfo
void setPriceInfo(@Nullable com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo)Sets thePriceInfoon the entity.- Parameters:
priceInfo- ThePriceInfoto set.
-
-