public abstract class ApiRequestParams
extends java.lang.Object
ApiResource.request(ApiResource.RequestMethod, String, ApiRequestParams, Class,
RequestOptions)
. It also exposes a convenient method converting the typed parameter into the
legacy support of untyped Map<String, Object>
param.Modifier and Type | Class and Description |
---|---|
static interface |
ApiRequestParams.EnumParam
Interface implemented by all enum parameter to get the actual string value that Stripe API
expects.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTRA_PARAMS_KEY
Param key for an `extraParams` map.
|
Constructor and Description |
---|
ApiRequestParams() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
toMap()
Convert `this` api request params to an untyped map.
|
public static final java.lang.String EXTRA_PARAMS_KEY
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
. Logic to handle this is in ApiRequestParamsConverter
.