UNPKG

expresspayments

Version:
31 lines (30 loc) 961 B
"use strict"; // File generated from our OpenAPI spec Object.defineProperty(exports, "__esModule", { value: true }); exports.Prices = void 0; const ExpressPaymentsResource_1 = require("../ExpressPaymentsResource"); const expressPaymentsMethod = ExpressPaymentsResource_1.ExpressPaymentsResource.method; exports.Prices = ExpressPaymentsResource_1.ExpressPaymentsResource.extend({ create: expressPaymentsMethod({ method: 'POST', fullPath: '/v1/prices', }), retrieve: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/prices/{price}', }), update: expressPaymentsMethod({ method: 'POST', fullPath: '/v1/prices/{price}', }), list: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/prices', methodType: 'list', }), search: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/prices/search', methodType: 'search', }), });