UNPKG

stripe

Version:
24 lines (23 loc) 747 B
// File generated from our OpenAPI spec import { StripeResource } from '../../StripeResource.js'; const stripeMethod = StripeResource.method; export const Locations = StripeResource.extend({ create: stripeMethod({ method: 'POST', fullPath: '/v1/terminal/locations' }), retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/terminal/locations/{location}', }), update: stripeMethod({ method: 'POST', fullPath: '/v1/terminal/locations/{location}', }), list: stripeMethod({ method: 'GET', fullPath: '/v1/terminal/locations', methodType: 'list', }), del: stripeMethod({ method: 'DELETE', fullPath: '/v1/terminal/locations/{location}', }), });