Class OutboundTransferService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.treasury.OutboundTransferService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTransitions a test mode created OutboundTransfer to thefailed
status.fail
(String outboundTransfer, RequestOptions options) Transitions a test mode created OutboundTransfer to thefailed
status.fail
(String outboundTransfer, OutboundTransferFailParams params) Transitions a test mode created OutboundTransfer to thefailed
status.fail
(String outboundTransfer, OutboundTransferFailParams params, RequestOptions options) Transitions a test mode created OutboundTransfer to thefailed
status.Transitions a test mode created OutboundTransfer to theposted
status.post
(String outboundTransfer, RequestOptions options) Transitions a test mode created OutboundTransfer to theposted
status.post
(String outboundTransfer, OutboundTransferPostParams params) Transitions a test mode created OutboundTransfer to theposted
status.post
(String outboundTransfer, OutboundTransferPostParams params, RequestOptions options) Transitions a test mode created OutboundTransfer to theposted
status.returnOutboundTransfer
(String outboundTransfer) Transitions a test mode created OutboundTransfer to thereturned
status.returnOutboundTransfer
(String outboundTransfer, RequestOptions options) Transitions a test mode created OutboundTransfer to thereturned
status.returnOutboundTransfer
(String outboundTransfer, OutboundTransferReturnOutboundTransferParams params) Transitions a test mode created OutboundTransfer to thereturned
status.returnOutboundTransfer
(String outboundTransfer, OutboundTransferReturnOutboundTransferParams params, RequestOptions options) Transitions a test mode created OutboundTransfer to thereturned
status.update
(String outboundTransfer, OutboundTransferUpdateParams params) Updates a test mode created OutboundTransfer with tracking details.update
(String outboundTransfer, OutboundTransferUpdateParams params, RequestOptions options) Updates a test mode created OutboundTransfer with tracking details.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
OutboundTransferService
-
-
Method Details
-
update
public OutboundTransfer update(String outboundTransfer, OutboundTransferUpdateParams params) throws StripeException Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in thecanceled
orfailed
states.- Throws:
StripeException
-
update
public OutboundTransfer update(String outboundTransfer, OutboundTransferUpdateParams params, RequestOptions options) throws StripeException Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in thecanceled
orfailed
states.- Throws:
StripeException
-
fail
public OutboundTransfer fail(String outboundTransfer, OutboundTransferFailParams params) throws StripeException Transitions a test mode created OutboundTransfer to thefailed
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
public OutboundTransfer fail(String outboundTransfer, RequestOptions options) throws StripeException Transitions a test mode created OutboundTransfer to thefailed
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
Transitions a test mode created OutboundTransfer to thefailed
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
fail
public OutboundTransfer fail(String outboundTransfer, OutboundTransferFailParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundTransfer to thefailed
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
post
public OutboundTransfer post(String outboundTransfer, OutboundTransferPostParams params) throws StripeException Transitions a test mode created OutboundTransfer to theposted
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
post
public OutboundTransfer post(String outboundTransfer, RequestOptions options) throws StripeException Transitions a test mode created OutboundTransfer to theposted
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
post
Transitions a test mode created OutboundTransfer to theposted
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
post
public OutboundTransfer post(String outboundTransfer, OutboundTransferPostParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundTransfer to theposted
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
returnOutboundTransfer
public OutboundTransfer returnOutboundTransfer(String outboundTransfer, OutboundTransferReturnOutboundTransferParams params) throws StripeException Transitions a test mode created OutboundTransfer to thereturned
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
returnOutboundTransfer
public OutboundTransfer returnOutboundTransfer(String outboundTransfer, RequestOptions options) throws StripeException Transitions a test mode created OutboundTransfer to thereturned
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
returnOutboundTransfer
Transitions a test mode created OutboundTransfer to thereturned
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-
returnOutboundTransfer
public OutboundTransfer returnOutboundTransfer(String outboundTransfer, OutboundTransferReturnOutboundTransferParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundTransfer to thereturned
status. The OutboundTransfer must already be in theprocessing
state.- Throws:
StripeException
-