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

Developer Preview

This release is in preview. Features described in this document don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!