UNPKG

stripe

Version:
24 lines (23 loc) 723 B
// File generated from our OpenAPI spec import { StripeResource } from '../../StripeResource.js'; const stripeMethod = StripeResource.method; export const Orders = StripeResource.extend({ create: stripeMethod({ method: 'POST', fullPath: '/v1/climate/orders' }), retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/climate/orders/{order}', }), update: stripeMethod({ method: 'POST', fullPath: '/v1/climate/orders/{order}', }), list: stripeMethod({ method: 'GET', fullPath: '/v1/climate/orders', methodType: 'list', }), cancel: stripeMethod({ method: 'POST', fullPath: '/v1/climate/orders/{order}/cancel', }), });