commercestorepricing.PricingRequest
Provides product prices for buyer accounts in a WebStore.
Constructors
global PricingRequest()
Constructs a new PricingRequest object.
Methods
global getWebStoreId()
Returns the Webstore Id for the pricing request.
Returns
| Type | Description |
|---|
| String | The Id of the Webstore. |
global getEffectiveAccountId()
Returns the effective account Id set in the pricing request.
Returns
| Type | Description |
|---|
| String | The effective account Id of the buyer. |
global getCurrencyIsoCode()
Returns the currency ISO code set in the pricing request.
Returns
| Type | Description |
|---|
| String | The currency ISO code. |
global setWebStoreId(String webStoreId)
Sets the Webstore Id for the pricing request.
Parameters
| Param | Description |
|---|
webStoreId | Id of the WebStore |
global setEffectiveAccountId(String effectiveAccountId)
Sets the effective account Id for the pricing request.
Parameters
| Param | Description |
|---|
effectiveAccountId | Buyer Account Id |
global setCurrencyIsoCode(String currencyIsoCode)
Sets the currency ISO code for the pricing request.
Parameters
| Param | Description |
|---|
currencyIsoCode | ISO code of currency in which you want to retrieve the price of the product |
global getPricingRequestItems()
Retrieves the list of pricing request items by delegating the call to internal java class
Returns
| Type | Description |
|---|
| PricingRequestItemCollection | list of pricing request items |
global removePricingRequestItem(PricingRequestItem pricingRequestItem)
Removes an item from the list of request items by delegating the call to internal java class
Parameters
global addPricingRequestItem(PricingRequestItem pricingRequestItem)
Add a PricingRequestItem to list of request items by delegating the call to internal java class
Parameters