Initial project import
This commit is contained in:
23
node_modules/stripe/esm/resources/TestHelpers/Treasury/InboundTransfers.js
generated
vendored
Normal file
23
node_modules/stripe/esm/resources/TestHelpers/Treasury/InboundTransfers.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../StripeResource.js';
|
||||
export class InboundTransferResource extends StripeResource {
|
||||
/**
|
||||
* Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
|
||||
*/
|
||||
fail(id, params, options) {
|
||||
return this._makeRequest('POST', `/v1/test_helpers/treasury/inbound_transfers/${encodeURIComponent(id)}/fail`, params, options);
|
||||
}
|
||||
/**
|
||||
* Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
|
||||
*/
|
||||
returnInboundTransfer(id, params, options) {
|
||||
return this._makeRequest('POST', `/v1/test_helpers/treasury/inbound_transfers/${encodeURIComponent(id)}/return`, params, options);
|
||||
}
|
||||
/**
|
||||
* Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.
|
||||
*/
|
||||
succeed(id, params, options) {
|
||||
return this._makeRequest('POST', `/v1/test_helpers/treasury/inbound_transfers/${encodeURIComponent(id)}/succeed`, params, options);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=InboundTransfers.js.map
|
||||
Reference in New Issue
Block a user