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 thefailedstatus.fail(RequestOptions options) Transitions a test mode created InboundTransfer to thefailedstatus.fail(InboundTransferFailParams params) Transitions a test mode created InboundTransfer to thefailedstatus.fail(InboundTransferFailParams params, RequestOptions options) Transitions a test mode created InboundTransfer to thefailedstatus.Transitions a test mode created InboundTransfer to thefailedstatus.fail(Map<String, Object> params, RequestOptions options) Transitions a test mode created InboundTransfer to thefailedstatus.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 thesucceededstatus.succeed(RequestOptions options) Transitions a test mode created InboundTransfer to thesucceededstatus.succeed(InboundTransferSucceedParams params) Transitions a test mode created InboundTransfer to thesucceededstatus.succeed(InboundTransferSucceedParams params, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceededstatus.Transitions a test mode created InboundTransfer to thesucceededstatus.succeed(Map<String, Object> params, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceededstatus.
-
Method Details
-
fail
Transitions a test mode created InboundTransfer to thefailedstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a test mode created InboundTransfer to thefailedstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a test mode created InboundTransfer to thefailedstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
fail
public InboundTransfer fail(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a test mode created InboundTransfer to thefailedstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a test mode created InboundTransfer to thefailedstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
fail
public InboundTransfer fail(InboundTransferFailParams params, RequestOptions options) throws StripeException Transitions a test mode created InboundTransfer to thefailedstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
returnInboundTransfer
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in thesucceededstate.- 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 thesucceededstate.- 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 thesucceededstate.- 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 thesucceededstate.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceededstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceededstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceededstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a test mode created InboundTransfer to thesucceededstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
succeed
Transitions a test mode created InboundTransfer to thesucceededstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(InboundTransferSucceedParams params, RequestOptions options) throws StripeException Transitions a test mode created InboundTransfer to thesucceededstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-