Class InboundTransferService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.treasury.InboundTransferService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTransitions a test mode created InboundTransfer to thefailed
status.fail
(String id, RequestOptions options) Transitions a test mode created InboundTransfer to thefailed
status.fail
(String id, InboundTransferFailParams params) Transitions a test mode created InboundTransfer to thefailed
status.fail
(String id, InboundTransferFailParams 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
(String id, 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.returnInboundTransfer
(String id, InboundTransferReturnInboundTransferParams params, RequestOptions options) Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.Transitions a test mode created InboundTransfer to thesucceeded
status.succeed
(String id, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceeded
status.succeed
(String id, InboundTransferSucceedParams params) Transitions a test mode created InboundTransfer to thesucceeded
status.succeed
(String id, InboundTransferSucceedParams params, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceeded
status.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
InboundTransferService
-
-
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(String id, 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
public InboundTransfer returnInboundTransfer(String id, 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(String id, 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
-
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(String id, 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
public InboundTransfer succeed(String id, InboundTransferSucceedParams params) throws StripeException 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(String id, 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
-