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 thefailed
status.fail
(RequestOptions options) Transitions a test mode created OutboundPayment to thefailed
status.fail
(OutboundPaymentFailParams params) Transitions a test mode created OutboundPayment to thefailed
status.fail
(OutboundPaymentFailParams params, RequestOptions options) Transitions a test mode created OutboundPayment to thefailed
status.Transitions a test mode created OutboundPayment to thefailed
status.fail
(Map<String, Object> params, RequestOptions options) Transitions a test mode created OutboundPayment to thefailed
status.post()
Transitions a test mode created OutboundPayment to theposted
status.post
(RequestOptions options) Transitions a test mode created OutboundPayment to theposted
status.post
(OutboundPaymentPostParams params) Transitions a test mode created OutboundPayment to theposted
status.post
(OutboundPaymentPostParams params, RequestOptions options) Transitions a test mode created OutboundPayment to theposted
status.Transitions a test mode created OutboundPayment to theposted
status.post
(Map<String, Object> params, RequestOptions options) Transitions a test mode created OutboundPayment to theposted
status.Transitions a test mode created OutboundPayment to thereturned
status.returnOutboundPayment
(RequestOptions options) Transitions a test mode created OutboundPayment to thereturned
status.Transitions a test mode created OutboundPayment to thereturned
status.Transitions a test mode created OutboundPayment to thereturned
status.returnOutboundPayment
(Map<String, Object> params) Transitions a test mode created OutboundPayment to thereturned
status.returnOutboundPayment
(Map<String, Object> params, RequestOptions options) Transitions a test mode created OutboundPayment to thereturned
status.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 thecanceled
orfailed
states.- 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 thecanceled
orfailed
states.- Throws:
StripeException
-
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(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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions 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(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(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions 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(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
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
Transitions a test mode created OutboundPayment to thereturned
status. The OutboundPayment must already be in theprocessing
state.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(Map<String, Object> params, RequestOptions options) throws StripeExceptionTransitions a test mode created OutboundPayment to thereturned
status. The OutboundPayment must already be in theprocessing
state.- Throws:
StripeException
-
returnOutboundPayment
public OutboundPayment returnOutboundPayment(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(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
-