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
|
- 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
|
- Source:
Returns:
a Promise, with an object containing data of type module:models/GiftCertificate and HTTP response
- Type
- Promise