ItemPriceService Service class to get item price rule. Service class is also exposed as Rest Resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
ItemPriceService | getInstance() |
ItemPriceService | getInstance(String version) |
List<ItemPriceRule> with updated pricerule | getItemPriceRule() |
List<ItemPriceRule> | getPrice(List |
Method Detail
This class supports the following methods:
global static ItemPriceService getInstance()
Service get instance method that will return an instance of this service, either standard or overridden.
global static ItemPriceService getInstance(String version)
Service get instance method that will return an instance of this service, either versioned or overridden.
Parameters
Name | Type | Description |
---|---|---|
version | String | undefined |
global static void getItemPriceRule()
Get ItemPriceRule
global virtual List<ItemPriceRule> getPrice(List<ItemPriceRule> params)
get active PriceRules
Parameters
Name | Type | Description |
---|---|---|
params | List<ItemPriceRule> | undefined |