Class PriceInfoContext
java.lang.Object
com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext
- All Implemented Interfaces:
Serializable
DTO data needed when requesting
PriceInfo
s for PriceableTarget
s.- Author:
- Chad Harchar (charchar)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected Set<PriceableTarget>
PriceableTargets
to be priced.protected Set<PriceListRef>
PriceListRefs
to query for prices for the targets.protected boolean
Whether to excludePriceInfo.getPriceTypeDetails()
from the response. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
PriceableTargets
to be priced.PriceListRefs
to query for prices for the targets.int
hashCode()
boolean
Whether to excludePriceInfo.getPriceTypeDetails()
from the response.void
setPriceableTargets
(Set<PriceableTarget> priceableTargets) PriceableTargets
to be priced.void
setPriceLists
(Set<PriceListRef> priceLists) PriceListRefs
to query for prices for the targets.void
setSkipDetails
(boolean skipDetails) Whether to excludePriceInfo.getPriceTypeDetails()
from the response.toString()
-
Field Details
-
PRICE_INFO_CONTEXT_HEADER
- See Also:
-
priceableTargets
PriceableTargets
to be priced. -
priceLists
PriceListRefs
to query for prices for the targets. -
skipDetails
protected boolean skipDetailsWhether to excludePriceInfo.getPriceTypeDetails()
from the response.
-
-
Constructor Details
-
PriceInfoContext
public PriceInfoContext()
-
-
Method Details
-
getPriceableTargets
PriceableTargets
to be priced. -
getPriceLists
PriceListRefs
to query for prices for the targets. -
isSkipDetails
public boolean isSkipDetails()Whether to excludePriceInfo.getPriceTypeDetails()
from the response. -
setPriceableTargets
PriceableTargets
to be priced. -
setPriceLists
PriceListRefs
to query for prices for the targets. -
setSkipDetails
public void setSkipDetails(boolean skipDetails) Whether to excludePriceInfo.getPriceTypeDetails()
from the response. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-