commercestorepricing.PricingResponse

Class that represents the output of the customer pricing API callout.

Constructs PricingResponse by delegating the call to internal java class


Checks if there are no errors in fetching the pricing information

TypeDescription
BooleanTrue if there are no errors in fetching the pricing information, false otherwise

Returns currency ISO code

TypeDescription
StringCurrency ISO code

Set currency ISO code for this Pricing Response

ParamDescription
currencyIsoCodeCurrency ISO Code

Retrieves error message in case of errors in fetching the pricing information

TypeDescription
StringError message

Retrieves localized error message in case of errors in fetching the pricing information

TypeDescription
StringLocalized error message

Returns error code in case of errors while fetching the pricing information

TypeDescription
StringError code

Set error message and localized error message

ParamDescription
errorMessageError message
localizedErrorMessageLocalized error message

Retrieves the list of commercestorepricing.PricingResponseItem by delegating the call to internal java class

TypeDescription
PricingResponseItemCollectionlist of PricingResponseItems in the response

Removes an item from the list of response items by delegating the call to internal java class

ParamDescription
pricingResponseItemcommercestorepricing.PricingResponseItem to remove from the list of response items

Adds an item to list of response items by delegating the call to internal java class

ParamDescription
pricingResponseItemcommercestorepricing.PricingResponseItem to add to the list of response items