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