public class TokenCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
TokenCreateParams.Account |
static class |
TokenCreateParams.BankAccount |
static class |
TokenCreateParams.Builder |
static class |
TokenCreateParams.Card |
static class |
TokenCreateParams.Person
Add all map key/value pairs to `extraParams` map.
|
static class |
TokenCreateParams.Pii
|
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static TokenCreateParams.Builder |
builder() |
TokenCreateParams.Account |
getAccount()
Information for the account this token will represent.
|
TokenCreateParams.BankAccount |
getBankAccount()
The bank account this token will represent.
|
java.lang.Object |
getCard() |
java.lang.String |
getCustomer()
The customer (owned by the application's account) for which to create a token.
|
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.
|
TokenCreateParams.Person |
getPerson()
Information for the person this token will represent.
|
TokenCreateParams.Pii |
getPii()
The PII this token will represent.
|
toMap
public static TokenCreateParams.Builder builder()
public TokenCreateParams.Account getAccount()
public TokenCreateParams.BankAccount getBankAccount()
public java.lang.Object getCard()
public java.lang.String getCustomer()
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 TokenCreateParams.Person getPerson()
public TokenCreateParams.Pii getPii()