Class PriceableTargetsRequest
java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.marketing.PriceableTargetsRequest
- All Implemented Interfaces:
Serializable
Represents a request to fetch alternative pricing options for one or more targets.
- Author:
- Jon Fleschler (jfleschler)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIf in a subscription modification flow, this is the existing subscription term to filter the Product's terms by.A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices.Prebuilt mapping ofPriceableTargetsto fetch alternative pricing for.inthashCode()voidsetExistingTerms(ExistingSubscriptionTerms existingTerms) If in a subscription modification flow, this is the existing subscription term to filter the Product's terms by.voidsetProduct(Product product) A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices.voidsetTargetsMap(Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap) Prebuilt mapping ofPriceableTargetsto fetch alternative pricing for.toString()
-
Constructor Details
-
PriceableTargetsRequest
public PriceableTargetsRequest()
-
-
Method Details
-
getTargetsMap
Prebuilt mapping ofPriceableTargetsto fetch alternative pricing for. The key is either the SKU or pricing key of the entity that sourced the targets. -
getProduct
A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices.- Since:
- Catalog Browse Service 2.2.0, Release Train 2.3.0
-
getExistingTerms
If in a subscription modification flow, this is the existing subscription term to filter the Product's terms by.- Since:
- Catalog Browse Service 2.2.0, Release Train 2.3.0
-
setTargetsMap
public void setTargetsMap(Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap) Prebuilt mapping ofPriceableTargetsto fetch alternative pricing for. The key is either the SKU or pricing key of the entity that sourced the targets. -
setProduct
A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices.- Since:
- Catalog Browse Service 2.2.0, Release Train 2.3.0
-
setExistingTerms
If in a subscription modification flow, this is the existing subscription term to filter the Product's terms by.- Since:
- Catalog Browse Service 2.2.0, Release Train 2.3.0
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-