Interface Priceable
- All Known Implementing Classes:
IncludedProduct,ItemChoice,Product,PromotionalCategoryProduct,PromotionalProduct,SpecificItemChoice,SpecificItemChoiceVariantPricingOverride,Variant
public interface Priceable
Marks a class as a candidate for pricing from the Pricing Service.
This should be used to aid the PricingProvider in mapping PriceInfos
back onto their respective owners.
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.pricing.client.domain.PriceInfoRetrieves thePriceInfoon the entity.voidsetPriceInfo(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo) Sets thePriceInfoon the entity.
-
Method Details
-
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.
-