Class: module:api/CardtypesApi

module:api/CardtypesApi(apiClient)

new module:api/CardtypesApi(apiClient)

Constructs a new CardtypesApi.

Parameters:
Name Type Description
apiClient module:ApiClient

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

Source:

Methods

cardtypesWithHttpInfo(opts) → {Promise}

Cardtypes Lists supported payment card types.

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/CardTypeList and HTTP response

Type
Promise

getCardTypes(opts) → {Promise}

Cardtypes Lists supported payment card types.

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/CardTypeList

Type
Promise