Class InboundTransferService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.treasury.InboundTransferService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransitions a testInboundTransferto thefailedstatus.fail(String id, RequestOptions options) Transitions a testInboundTransferto thefailedstatus.fail(String id, InboundTransferFailParams params) Transitions a testInboundTransferto thefailedstatus.fail(String id, InboundTransferFailParams params, RequestOptions options) Transitions a testInboundTransferto thefailedstatus.Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.returnInboundTransfer(String id, RequestOptions options) Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.returnInboundTransfer(String id, InboundTransferReturnInboundTransferParams params, RequestOptions options) Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit.Transitions a testInboundTransferto thesucceededstatus.succeed(String id, RequestOptions options) Transitions a testInboundTransferto thesucceededstatus.succeed(String id, InboundTransferSucceedParams params) Transitions a testInboundTransferto thesucceededstatus.succeed(String id, InboundTransferSucceedParams params, RequestOptions options) Transitions a testInboundTransferto thesucceededstatus.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream, requestV2Search
-
Constructor Details
-
InboundTransferService
-
-
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(String id, InboundTransferFailParams params, RequestOptions options) throws StripeException Transitions a testInboundTransferto thefailedstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(String id, InboundTransferReturnInboundTransferParams params) throws StripeException Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
returnInboundTransfer
public InboundTransfer returnInboundTransfer(String id, RequestOptions options) throws StripeException 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(String id, InboundTransferReturnInboundTransferParams params, RequestOptions options) throws StripeException Marks the testInboundTransferobject as returned and links theInboundTransferto aReceivedDebit. TheInboundTransfermust already be in thesucceededstate.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(String id, InboundTransferSucceedParams params) throws StripeException 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(String id, InboundTransferSucceedParams params, RequestOptions options) throws StripeException Transitions a testInboundTransferto thesucceededstatus. TheInboundTransfermust already be in theprocessingstate.- Throws:
StripeException
-