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 testInboundTransferto thefailedstatus.fail(RequestOptions options) Transitions a testInboundTransferto thefailedstatus.fail(InboundTransferFailParams params) Transitions a testInboundTransferto thefailedstatus.fail(InboundTransferFailParams params, RequestOptions options) Transitions a testInboundTransferto thefailedstatus.Transitions a testInboundTransferto thefailedstatus.fail(Map<String, Object> params, RequestOptions options) Transitions a testInboundTransferto thefailedstatus.Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.returnInboundTransfer(RequestOptions options) Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.returnInboundTransfer(Map<String, Object> params) Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.returnInboundTransfer(Map<String, Object> params, RequestOptions options) Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.succeed()Transitions a testInboundTransferto thesucceededstatus.succeed(RequestOptions options) Transitions a testInboundTransferto thesucceededstatus.succeed(InboundTransferSucceedParams params) Transitions a testInboundTransferto thesucceededstatus.succeed(InboundTransferSucceedParams params, RequestOptions options) Transitions a testInboundTransferto thesucceededstatus.Transitions a testInboundTransferto thesucceededstatus.succeed(Map<String, Object> params, RequestOptions options) Transitions a testInboundTransferto thesucceededstatus.
-
Method Details
-
fail
Transitions a testInboundTransferto thefailedstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a testInboundTransferto thefailedstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a testInboundTransferto thefailedstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
fail
public InboundTransfer fail(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a testInboundTransferto thefailedstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a testInboundTransferto thefailedstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
fail
public InboundTransfer fail(InboundTransferFailParams params, RequestOptions options) throws StripeException Transitions a testInboundTransferto thefailedstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
returnInboundTransfer
Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(Map<String, Object> params, RequestOptions options) throws StripeExceptionMarks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(InboundTransferReturnInboundTransferParams params) throws StripeException Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(InboundTransferReturnInboundTransferParams params, RequestOptions options) throws StripeException Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
succeed
Transitions a testInboundTransferto thesucceededstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
succeed
Transitions a testInboundTransferto thesucceededstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
succeed
Transitions a testInboundTransferto thesucceededstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a testInboundTransferto thesucceededstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
succeed
Transitions a testInboundTransferto thesucceededstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(InboundTransferSucceedParams params, RequestOptions options) throws StripeException Transitions a testInboundTransferto thesucceededstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-