19 lines
659 B
JavaScript
19 lines
659 B
JavaScript
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const Prices = StripeResource.extend({
|
|
create: stripeMethod({ method: 'POST', fullPath: '/v1/prices' }),
|
|
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/prices/{price}' }),
|
|
update: stripeMethod({ method: 'POST', fullPath: '/v1/prices/{price}' }),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/prices',
|
|
methodType: 'list',
|
|
}),
|
|
search: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/prices/search',
|
|
methodType: 'search',
|
|
}),
|
|
});
|