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 

TypeDescription
StringThe Id of the Webstore.

global getEffectiveAccountId() 

Returns the effective account Id of the buyer set in the request

Returns 

TypeDescription
StringThe effective account Id of the buyer.

global getCurrencyIsoCode() 

Returns the currency ISO code set in the request.

Returns 

TypeDescription
StringISO 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 

ParamDescription
webStoreIdId of the WebStore

global setEffectiveAccountId(String effectiveAccountId) 

Sets the effective account Id for the request.

Parameters 

ParamDescription
effectiveAccountIdBuyer Account Id

global setCurrencyIsoCode(String currencyIsoCode) 

Sets the currency ISO code for the pricing request.

Parameters 

ParamDescription
currencyIsoCodeISO 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 

TypeDescription
TxnPricingRequestItemCollectionlist of txnPricingRequestItems in the request

global removeTxnPricingRequestItem(TransactionalPricingRequestItem txnPricingRequestItem) 

Removes a txnPricingRequestItem from commercestorepricing.TxnPricingRequestItemCollection by delegating the call to internal java class

Parameters 

ParamDescription
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 

ParamDescription
txnPricingRequestItemcommercestorepricing.TransactionalPricingRequestItem to add to the list

Newer Version Available

This content describes an older version of this product. View Latest