commercestorepricing.TransactionalPricingRequest
Class that holds the request that is made to the pricing resolution service to get the transactional prices for a range of products.
Constructors
global TransactionalPricingRequest()
Constructs a new TransactionalPricingRequest object.
Methods
global getWebStoreId()
Returns the Webstore Id
Returns
| Type | Description |
|---|
| String | The Id of the Webstore. |
global getEffectiveAccountId()
Returns the effective account Id of the buyer set in the request
Returns
| Type | Description |
|---|
| String | The effective account Id of the buyer. |
global getCurrencyIsoCode()
Returns the currency ISO code set in the request.
Returns
| Type | Description |
|---|
| String | ISO code of currency in which you want to retrieve the price of the product |
global setWebStoreId(String webStoreId)
Sets the Webstore Id for the request.
Parameters
| Param | Description |
|---|
webStoreId | Id of the WebStore |
global setEffectiveAccountId(String effectiveAccountId)
Sets the effective account Id for the 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 getTxnPricingRequestItems()
Retrieves the list of items in commercestorepricing.TxnPricingRequestItemCollection by delegating the call to internal java class
Returns
| Type | Description |
|---|
| TxnPricingRequestItemCollection | list of txnPricingRequestItems in the request |
global removeTxnPricingRequestItem(TransactionalPricingRequestItem txnPricingRequestItem)
Removes a txnPricingRequestItem from commercestorepricing.TxnPricingRequestItemCollection by delegating the call to internal java class
Parameters
| Param | Description |
|---|
txnPricingRequestItem | > to remove from the list |
global addTxnPricingRequestItem(TransactionalPricingRequestItem txnPricingRequestItem)
Add a Request item to commercestorepricing.TxnPricingRequestItemCollection by delegating the call to internal java class
Parameters