Package com.stripe.model.treasury
Class OutboundPayment.TestHelpers
java.lang.Object
com.stripe.model.treasury.OutboundPayment.TestHelpers
- Enclosing class:
- OutboundPayment
-
Method Summary
Modifier and TypeMethodDescriptionfail()Transitions a testOutboundPaymentto thefailedstatus.fail(RequestOptions options) Transitions a testOutboundPaymentto thefailedstatus.fail(OutboundPaymentFailParams params) Transitions a testOutboundPaymentto thefailedstatus.fail(OutboundPaymentFailParams params, RequestOptions options) Transitions a testOutboundPaymentto thefailedstatus.Transitions a testOutboundPaymentto thefailedstatus.fail(Map<String, Object> params, RequestOptions options) Transitions a testOutboundPaymentto thefailedstatus.post()Transitions a testOutboundPaymentto thepostedstatus.post(RequestOptions options) Transitions a testOutboundPaymentto thepostedstatus.post(OutboundPaymentPostParams params) Transitions a testOutboundPaymentto thepostedstatus.post(OutboundPaymentPostParams params, RequestOptions options) Transitions a testOutboundPaymentto thepostedstatus.Transitions a testOutboundPaymentto thepostedstatus.post(Map<String, Object> params, RequestOptions options) Transitions a testOutboundPaymentto thepostedstatus.Transitions a testOutboundPaymentto thereturnedstatus.returnOutboundPayment(RequestOptions options) Transitions a testOutboundPaymentto thereturnedstatus.Transitions a testOutboundPaymentto thereturnedstatus.Transitions a testOutboundPaymentto thereturnedstatus.returnOutboundPayment(Map<String, Object> params) Transitions a testOutboundPaymentto thereturnedstatus.returnOutboundPayment(Map<String, Object> params, RequestOptions options) Transitions a testOutboundPaymentto thereturnedstatus.update(OutboundPaymentUpdateParams params) Updates a testOutboundPaymentwith tracking details.update(OutboundPaymentUpdateParams params, RequestOptions options) Updates a testOutboundPaymentwith tracking details.Updates a testOutboundPaymentwith tracking details.update(Map<String, Object> params, RequestOptions options) Updates a testOutboundPaymentwith tracking details.
-
Method Details
-
update
Updates a testOutboundPaymentwith tracking details. TheOutboundPaymentmust not be cancelable, and can’t be in thecanceledorfailedstates.- Throws:
StripeException
-
update
public OutboundPayment update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates a testOutboundPaymentwith tracking details. TheOutboundPaymentmust not be cancelable, and can’t be in thecanceledorfailedstates.- Throws:
StripeException
-
update
Updates a testOutboundPaymentwith tracking details. TheOutboundPaymentmust not be cancelable, and can’t be in thecanceledorfailedstates.- Throws:
StripeException
-
update
public OutboundPayment update(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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions 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(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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions 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(OutboundPaymentPostParams params, RequestOptions options) throws StripeException Transitions a testOutboundPaymentto thepostedstatus. TheOutboundPaymentmust already be in theprocessingstate.- Throws:
StripeException
-
returnOutboundPayment
Transitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-
returnOutboundPayment
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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(OutboundPaymentReturnOutboundPaymentParams params) throws StripeException Transitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(OutboundPaymentReturnOutboundPaymentParams params, RequestOptions options) throws StripeException Transitions a testOutboundPaymentto thereturnedstatus. TheOutboundPaymentmust already be in thepostedstate.- Throws:
StripeException
-