Class: module:api/GiftCertificateApi

module:api/GiftCertificateApi(apiClient)

new module:api/GiftCertificateApi(apiClient)

Constructs a new GiftCertificateApi.

Parameters:
Name Type Description
apiClient module:ApiClient

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

Source:

Methods

postGiftCertificate(opts) → {Promise}

Action to retrieve an existing gift certificate.

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
body module:models/GiftCertificateRequest
Source:
Returns:

a Promise, with data of type module:models/GiftCertificate

Type
Promise

postGiftCertificateWithHttpInfo(opts) → {Promise}

Action to retrieve an existing gift certificate.

Parameters:
Name Type Description
opts Object

Optional parameters

Properties
Name Type Description
body module:models/GiftCertificateRequest
Source:
Returns:

a Promise, with an object containing data of type module:models/GiftCertificate and HTTP response

Type
Promise