Class InboundTransferService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.treasury.InboundTransferService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransitions a test mode created InboundTransfer to thefailedstatus.fail(String id, RequestOptions options) Transitions a test mode created InboundTransfer to thefailedstatus.fail(String id, InboundTransferFailParams params) Transitions a test mode created InboundTransfer to thefailedstatus.fail(String id, InboundTransferFailParams 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(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 thesucceededstatus.succeed(String id, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceededstatus.succeed(String id, InboundTransferSucceedParams params) Transitions a test mode created InboundTransfer to thesucceededstatus.succeed(String id, InboundTransferSucceedParams params, RequestOptions options) Transitions a test mode created InboundTransfer to thesucceededstatus.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
InboundTransferService
-
-
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(String id, InboundTransferFailParams params, RequestOptions options) throws StripeException Transitions a test mode created InboundTransfer to thefailedstatus. The InboundTransfer must already be in theprocessingstate.- 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 thesucceededstate.- 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 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(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 thesucceededstate.- Throws:
StripeException
-
succeed
public InboundTransfer succeed(String id, InboundTransferSucceedParams params) throws StripeException 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(String id, InboundTransferSucceedParams params, RequestOptions options) throws StripeException Transitions a test mode created InboundTransfer to thesucceededstatus. The InboundTransfer must already be in theprocessingstate.- Throws:
StripeException
-