Package com.stripe.model.treasury
Class InboundTransfer.TestHelpers
java.lang.Object
com.stripe.model.treasury.InboundTransfer.TestHelpers
- Enclosing class:
- InboundTransfer
-
Method Summary
Modifier and TypeMethodDescriptionfail()
Transitions a test mode created InboundTransfer to thefailed
status.fail
(RequestOptions options) Transitions a test mode created InboundTransfer to thefailed
status.fail
(InboundTransferFailParams params) Transitions a test mode created InboundTransfer to thefailed
status.fail
(InboundTransferFailParams params, RequestOptions options) Transitions a test mode created InboundTransfer to thefailed
status.Transitions a test mode created InboundTransfer to thefailed
status.fail
(Map<String, Object> params, RequestOptions options) Transitions a test mode created InboundTransfer to thefailed
status.Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.returnInboundTransfer
(RequestOptions options) Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.returnInboundTransfer
(Map<String, Object> params) Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.returnInboundTransfer
(Map<String, Object> params, RequestOptions options) Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.succeed()
Transitions a test mode created InboundTransfer to thesucceeded
status.succeed
(RequestOptions options) Transitions a test mode created InboundTransfer to thesucceeded
status.succeed
(InboundTransferSucceedParams params) Transitions a test mode created InboundTransfer to thesucceeded
status.succeed
(InboundTransferSucceedParams params, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceeded
status.Transitions a test mode created InboundTransfer to thesucceeded
status.succeed
(Map<String, Object> params, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceeded
status.
-
Method Details
-
fail
Transitions a test mode created InboundTransfer to thefailed
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
Transitions a test mode created InboundTransfer to thefailed
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
Transitions a test mode created InboundTransfer to thefailed
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
public InboundTransfer fail(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a test mode created InboundTransfer to thefailed
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
Transitions a test mode created InboundTransfer to thefailed
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
public InboundTransfer fail(InboundTransferFailParams params, RequestOptions options) throws StripeException Transitions a test mode created InboundTransfer to thefailed
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
returnInboundTransfer
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceeded
state.- Throws:
StripeException
-
returnInboundTransfer
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceeded
state.- Throws:
StripeException
-
returnInboundTransfer
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceeded
state.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(Map<String, Object> params, RequestOptions options) throws StripeExceptionMarks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceeded
state.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(InboundTransferReturnInboundTransferParams params) throws StripeException Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceeded
state.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(InboundTransferReturnInboundTransferParams params, RequestOptions options) throws StripeException Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceeded
state.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceeded
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceeded
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceeded
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a test mode created InboundTransfer to thesucceeded
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceeded
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(InboundTransferSucceedParams params, RequestOptions options) throws StripeException Transitions a test mode created InboundTransfer to thesucceeded
status. The InboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-