Stripe.Services.TestHelpers.Treasury.InboundTransferService
(tiger_stripe v0.1.10)
Copy Markdown
View Source
InboundTransfer API operations.
Summary
Functions
Test mode: Fail an InboundTransfer
Test mode: Return an InboundTransfer
Test mode: Succeed an InboundTransfer
Functions
@spec fail(Stripe.Client.t(), String.t(), map(), keyword()) :: {:ok, term()} | {:error, Stripe.Error.t()}
Test mode: Fail an InboundTransfer
Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
@spec return_inbound_transfer(Stripe.Client.t(), String.t(), map(), keyword()) :: {:ok, term()} | {:error, Stripe.Error.t()}
Test mode: Return an InboundTransfer
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
@spec succeed(Stripe.Client.t(), String.t(), map(), keyword()) :: {:ok, term()} | {:error, Stripe.Error.t()}
Test mode: Succeed an InboundTransfer
Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.