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 

TypeDescription
StringThe Id of the Webstore.

global getEffectiveAccountId() 

Returns the effective account Id set in the pricing request.

Returns 

TypeDescription
StringThe effective account Id of the buyer.

global getCurrencyIsoCode() 

Returns the currency ISO code set in the pricing request.

Returns 

TypeDescription
StringThe currency ISO code.

global setWebStoreId(String webStoreId) 

Sets the Webstore Id for the pricing request.

Parameters 

ParamDescription
webStoreIdId of the WebStore

global setEffectiveAccountId(String effectiveAccountId) 

Sets the effective account Id for the pricing 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 getPricingRequestItems() 

Retrieves the list of pricing request items by delegating the call to internal java class

Returns 

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

ParamDescription
pricingRequestItemcommercestorepricing.PricingRequestItem to remove from the list

global addPricingRequestItem(PricingRequestItem pricingRequestItem) 

Add a PricingRequestItem to list of request items by delegating the call to internal java class

Parameters 

ParamDescription
pricingRequestItemcommercestorepricing.PricingRequestItem to add to the list

Newer Version Available

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

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