public interface PricingContextDto
PricingContextDto is
used by the PriceListResolver to determine which PriceList to use a given request.
Created by bpolster.| Modifier and Type | Method and Description |
|---|---|
String |
getCurrencyCode()
Determines the currency to use for the
PriceList |
String |
getLocaleCode()
Returns the locale to use for determining the price list.
|
Map<String,String> |
getPricingContextAttributes()
Name value pairs that make up the pricingContext.
|
boolean |
isIgnoreSaleAndContractPricing()
Determines whether we should ignore sale and contract price lists from consideration.
|
void |
setCurrencyCode(String currencyCode)
Sets the currency to use for the
PriceList |
void |
setIgnoreSaleAndContractPricing(boolean ignoreSaleAndContractPricing)
Set whether to ignore sale and contract pricelists
|
void |
setLocaleCode(String localeCode)
Sets the locale
|
void |
setPricingContextAttributes(Map<String,String> pricingContextAttributes)
Sets the pricingContext attributes.
|
Map<String,String> getPricingContextAttributes()
void setPricingContextAttributes(Map<String,String> pricingContextAttributes)
pricingContextAttributes - String getLocaleCode()
void setLocaleCode(String localeCode)
localeCode - void setCurrencyCode(String currencyCode)
PriceListcurrencyCode - boolean isIgnoreSaleAndContractPricing()
void setIgnoreSaleAndContractPricing(boolean ignoreSaleAndContractPricing)
ignoreSaleAndContractPricing - Copyright © 2018. All rights reserved.