Package com.stripe.net
Interface StripeResponseGetter
- All Known Implementing Classes:
LiveStripeResponseGetter
public interface StripeResponseGetter
-
Method Summary
Modifier and TypeMethodDescription<T extends StripeObjectInterface>
ToauthRequest
(ApiResource.RequestMethod method, String url, Map<String, Object> params, Class<T> clazz, RequestOptions options) <T extends StripeObjectInterface>
Trequest
(ApiResource.RequestMethod method, String url, Map<String, Object> params, Class<T> clazz, RequestOptions options) default InputStream
requestStream
(ApiResource.RequestMethod method, String url, Map<String, Object> params, RequestOptions options)
-
Method Details
-
request
<T extends StripeObjectInterface> T request(ApiResource.RequestMethod method, String url, Map<String, Object> params, Class<T> clazz, RequestOptions options) throws StripeException- Throws:
StripeException
-
oauthRequest
<T extends StripeObjectInterface> T oauthRequest(ApiResource.RequestMethod method, String url, Map<String, Object> params, Class<T> clazz, RequestOptions options) throws StripeException- Throws:
StripeException
-
requestStream
default InputStream requestStream(ApiResource.RequestMethod method, String url, Map<String, Object> params, RequestOptions options) throws StripeException- Throws:
StripeException
-