31 lines
985 B
JavaScript
31 lines
985 B
JavaScript
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../StripeResource.js';
|
|
export class ApplePayDomainResource extends StripeResource {
|
|
/**
|
|
* Delete an apple pay domain.
|
|
*/
|
|
del(id, params, options) {
|
|
return this._makeRequest('DELETE', `/v1/apple_pay/domains/${encodeURIComponent(id)}`, params, options);
|
|
}
|
|
/**
|
|
* Retrieve an apple pay domain.
|
|
*/
|
|
retrieve(id, params, options) {
|
|
return this._makeRequest('GET', `/v1/apple_pay/domains/${encodeURIComponent(id)}`, params, options);
|
|
}
|
|
/**
|
|
* List apple pay domains.
|
|
*/
|
|
list(params, options) {
|
|
return this._makeRequest('GET', '/v1/apple_pay/domains', params, options, {
|
|
methodType: 'list',
|
|
});
|
|
}
|
|
/**
|
|
* Create an apple pay domain.
|
|
*/
|
|
create(params, options) {
|
|
return this._makeRequest('POST', '/v1/apple_pay/domains', params, options);
|
|
}
|
|
}
|
|
//# sourceMappingURL=ApplePayDomains.js.map
|