Class OutboundPaymentService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.treasury.OutboundPaymentService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransitions a test mode created OutboundPayment to thefailedstatus.fail(String id, RequestOptions options) Transitions a test mode created OutboundPayment to thefailedstatus.fail(String id, OutboundPaymentFailParams params) Transitions a test mode created OutboundPayment to thefailedstatus.fail(String id, OutboundPaymentFailParams params, RequestOptions options) Transitions a test mode created OutboundPayment to thefailedstatus.Transitions a test mode created OutboundPayment to thepostedstatus.post(String id, RequestOptions options) Transitions a test mode created OutboundPayment to thepostedstatus.post(String id, OutboundPaymentPostParams params) Transitions a test mode created OutboundPayment to thepostedstatus.post(String id, OutboundPaymentPostParams params, RequestOptions options) Transitions a test mode created OutboundPayment to thepostedstatus.Transitions a test mode created OutboundPayment to thereturnedstatus.returnOutboundPayment(String id, RequestOptions options) Transitions a test mode created OutboundPayment to thereturnedstatus.Transitions a test mode created OutboundPayment to thereturnedstatus.returnOutboundPayment(String id, OutboundPaymentReturnOutboundPaymentParams params, RequestOptions options) Transitions a test mode created OutboundPayment to thereturnedstatus.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 thecanceledorfailedstates.- 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 thecanceledorfailedstates.- Throws:
StripeException
-
fail
Transitions a test mode created OutboundPayment to thefailedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a test mode created OutboundPayment to thefailedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a test mode created OutboundPayment to thefailedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
fail
public OutboundPayment fail(String id, OutboundPaymentFailParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundPayment to thefailedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
post
Transitions a test mode created OutboundPayment to thepostedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
post
Transitions a test mode created OutboundPayment to thepostedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
post
Transitions a test mode created OutboundPayment to thepostedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
post
public OutboundPayment post(String id, OutboundPaymentPostParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundPayment to thepostedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(String id, OutboundPaymentReturnOutboundPaymentParams params) throws StripeException Transitions a test mode created OutboundPayment to thereturnedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(String id, RequestOptions options) throws StripeException Transitions a test mode created OutboundPayment to thereturnedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
returnOutboundPayment
Transitions a test mode created OutboundPayment to thereturnedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(String id, OutboundPaymentReturnOutboundPaymentParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundPayment to thereturnedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-