Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

View 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