// 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/${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/${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/${id}/succeed`, params, options);
    }
}
//# sourceMappingURL=InboundTransfers.js.map