public class CardUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
CardUpdateParams.Builder |
static class |
CardUpdateParams.CancellationReason |
static class |
CardUpdateParams.SpendingControls |
static class |
CardUpdateParams.Status |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static CardUpdateParams.Builder |
builder() |
CardUpdateParams.CancellationReason |
getCancellationReason()
Reason why the
status of this card is canceled . |
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.Object |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
CardUpdateParams.SpendingControls |
getSpendingControls()
Rules that control spending for this card.
|
CardUpdateParams.Status |
getStatus()
Dictates whether authorizations can be approved on this card.
|
toMap
public static CardUpdateParams.Builder builder()
public CardUpdateParams.CancellationReason getCancellationReason()
status
of this card is canceled
.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.Object getMetadata()
metadata
.public CardUpdateParams.SpendingControls getSpendingControls()
public CardUpdateParams.Status getStatus()
cancellation_reason
.