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 test mode created OutboundPayment to thefailedstatus.fail(RequestOptions options) Transitions a test mode created OutboundPayment to thefailedstatus.fail(OutboundPaymentFailParams params) Transitions a test mode created OutboundPayment to thefailedstatus.fail(OutboundPaymentFailParams params, RequestOptions options) Transitions a test mode created OutboundPayment to thefailedstatus.Transitions a test mode created OutboundPayment to thefailedstatus.fail(Map<String, Object> params, RequestOptions options) Transitions a test mode created OutboundPayment to thefailedstatus.post()Transitions a test mode created OutboundPayment to thepostedstatus.post(RequestOptions options) Transitions a test mode created OutboundPayment to thepostedstatus.post(OutboundPaymentPostParams params) Transitions a test mode created OutboundPayment to thepostedstatus.post(OutboundPaymentPostParams params, RequestOptions options) Transitions a test mode created OutboundPayment to thepostedstatus.Transitions a test mode created OutboundPayment to thepostedstatus.post(Map<String, Object> params, RequestOptions options) Transitions a test mode created OutboundPayment to thepostedstatus.Transitions a test mode created OutboundPayment to thereturnedstatus.returnOutboundPayment(RequestOptions options) Transitions a test mode created OutboundPayment to thereturnedstatus.Transitions a test mode created OutboundPayment to thereturnedstatus.Transitions a test mode created OutboundPayment to thereturnedstatus.returnOutboundPayment(Map<String, Object> params) Transitions a test mode created OutboundPayment to thereturnedstatus.returnOutboundPayment(Map<String, Object> params, RequestOptions options) Transitions a test mode created OutboundPayment to thereturnedstatus.update(OutboundPaymentUpdateParams params) Updates a test mode created OutboundPayment with tracking details.update(OutboundPaymentUpdateParams params, RequestOptions options) Updates a test mode created OutboundPayment with tracking details.Updates a test mode created OutboundPayment with tracking details.update(Map<String, Object> params, RequestOptions options) Updates a test mode created OutboundPayment with tracking details.
-
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(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in thecanceledorfailedstates.- Throws:
StripeException
-
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(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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions 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(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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions 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(OutboundPaymentPostParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundPayment to thepostedstatus. 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
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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a test mode created OutboundPayment to thereturnedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(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(OutboundPaymentReturnOutboundPaymentParams params, RequestOptions options) throws StripeException Transitions a test mode created OutboundPayment to thereturnedstatus. The OutboundPayment must already be in theprocessingstate.- Throws:
StripeException
-