Class: module:api/CurrenciesApi

module:api/CurrenciesApi(apiClient)

new module:api/CurrenciesApi(apiClient)

Constructs a new CurrenciesApi.

Parameters:
Name Type Description
apiClient module:ApiClient

Optional API client implementation to use, default to module:ApiClient#instance if unspecified.

Source:

Methods

currenciesWithHttpInfo(opts) → {Promise}

getCurrencies Lists all available currencies (all usable currencies for the current store).If the list of currencies for stores is empty, a list of all currencies available in the system is returned.

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
fields String

Response configuration (list of fields, which should be returned in response)

Source:
Returns:

a Promise">www.promisejs.org/|Promise}, with an object containing data of type module:models/CurrencyList and HTTP response

Type
Promise

getCurrencies(opts) → {Promise}

Currencies Lists all available currencies (all usable currencies for the current store).If the list of currencies for stores is empty, a list of all currencies available in the system is returned.

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
fields String

Response configuration (list of fields, which should be returned in response)

Source:
Returns:

a Promise">www.promisejs.org/|Promise}, with data of type module:models/CurrencyList

Type
Promise