Class OutboundPaymentService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.treasury.OutboundPaymentService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransitions a testOutboundPaymentto thefailedstatus.fail(String id, RequestOptions options) Transitions a testOutboundPaymentto thefailedstatus.fail(String id, OutboundPaymentFailParams params) Transitions a testOutboundPaymentto thefailedstatus.fail(String id, OutboundPaymentFailParams params, RequestOptions options) Transitions a testOutboundPaymentto thefailedstatus.Transitions a testOutboundPaymentto thepostedstatus.post(String id, RequestOptions options) Transitions a testOutboundPaymentto thepostedstatus.post(String id, OutboundPaymentPostParams params) Transitions a testOutboundPaymentto thepostedstatus.post(String id, OutboundPaymentPostParams params, RequestOptions options) Transitions a testOutboundPaymentto thepostedstatus.Transitions a testOutboundPaymentto thereturnedstatus.returnOutboundPayment(String id, RequestOptions options) Transitions a testOutboundPaymentto thereturnedstatus.Transitions a testOutboundPaymentto thereturnedstatus.returnOutboundPayment(String id, OutboundPaymentReturnOutboundPaymentParams params, RequestOptions options) Transitions a testOutboundPaymentto thereturnedstatus.update(String id, OutboundPaymentUpdateParams params) Updates a testOutboundPaymentwith tracking details.update(String id, OutboundPaymentUpdateParams params, RequestOptions options) Updates a testOutboundPaymentwith tracking details.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream, requestV2Search
-
Constructor Details
-
OutboundPaymentService
-
-
Method Details
-
update
Updates a testOutboundPaymentwith tracking details. TheOutboundPaymentmust not be cancelable, and can’t be in thecanceledorfailedstates.- Throws:
StripeException
-
update
public OutboundPayment update(String id, OutboundPaymentUpdateParams params, RequestOptions options) throws StripeException Updates a testOutboundPaymentwith tracking details. TheOutboundPaymentmust not be cancelable, and can’t be in thecanceledorfailedstates.- Throws:
StripeException
-
fail
Transitions a testOutboundPaymentto thefailedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a testOutboundPaymentto thefailedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
fail
Transitions a testOutboundPaymentto thefailedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
fail
public OutboundPayment fail(String id, OutboundPaymentFailParams params, RequestOptions options) throws StripeException Transitions a testOutboundPaymentto thefailedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
post
Transitions a testOutboundPaymentto thepostedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
post
Transitions a testOutboundPaymentto thepostedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
post
Transitions a testOutboundPaymentto thepostedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
post
public OutboundPayment post(String id, OutboundPaymentPostParams params, RequestOptions options) throws StripeException Transitions a testOutboundPaymentto thepostedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(String id, OutboundPaymentReturnOutboundPaymentParams params) throws StripeException Transitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(String id, RequestOptions options) throws StripeException Transitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-
returnOutboundPayment
Transitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(String id, OutboundPaymentReturnOutboundPaymentParams params, RequestOptions options) throws StripeException Transitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-