public class AuthorizationApproveParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
AuthorizationApproveParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static AuthorizationApproveParams.Builder |
builder() |
java.lang.Long |
getAmount()
If the authorization's
pending_request.is_amount_controllable property is true ,
you may provide this value to control how much to hold for the authorization. |
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.Long |
getHeldAmount()
If the authorization's
is_held_amount_controllable property is true , you may
provide this value to control how much to hold for the authorization. |
java.lang.Object |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
toMap
public static AuthorizationApproveParams.Builder builder()
public java.lang.Long getAmount()
pending_request.is_amount_controllable
property is true
,
you may provide this value to control how much to hold for the authorization. Must be positive
(use decline
to decline an authorization request).public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName
value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public java.lang.Long getHeldAmount()
is_held_amount_controllable
property is true
, you may
provide this value to control how much to hold for the authorization. Must be positive (use decline
to
decline an authorization request).public java.lang.Object getMetadata()
metadata
.