public class LiveStripeResponseGetter extends java.lang.Object implements StripeResponseGetter
Constructor and Description |
---|
LiveStripeResponseGetter()
Initializes a new instance of the
LiveStripeResponseGetter class with default
parameters. |
LiveStripeResponseGetter(HttpClient httpClient)
Initializes a new instance of the
LiveStripeResponseGetter class. |
Modifier and Type | Method and Description |
---|---|
<T extends StripeObjectInterface> |
oauthRequest(ApiResource.RequestMethod method,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Class<T> clazz,
RequestOptions options) |
<T extends StripeObjectInterface> |
request(ApiResource.RequestMethod method,
java.lang.String url,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Class<T> clazz,
RequestOptions options) |
public LiveStripeResponseGetter()
LiveStripeResponseGetter
class with default
parameters.public LiveStripeResponseGetter(HttpClient httpClient)
LiveStripeResponseGetter
class.httpClient
- the HTTP client to usepublic <T extends StripeObjectInterface> T request(ApiResource.RequestMethod method, java.lang.String url, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<T> clazz, RequestOptions options) throws StripeException
request
in interface StripeResponseGetter
StripeException
public <T extends StripeObjectInterface> T oauthRequest(ApiResource.RequestMethod method, java.lang.String url, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<T> clazz, RequestOptions options) throws StripeException
oauthRequest
in interface StripeResponseGetter
StripeException