Package com.stripe.param
Class TokenCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.TokenCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
The customer's preferred card network for co-branded cards.static class
Add all map key/value pairs to `extraParams` map.static class
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionstatic TokenCreateParams.Builder
builder()
Information for the account this token represents.The bank account this token will represent.getCard()
The card this token will represent.Create a token for the customer, which is owned by the application's account.The updated CVC value this token represents.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.Information for the person this token represents.getPii()
The PII this token represents.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAccount
Information for the account this token represents. -
getBankAccount
The bank account this token will represent. -
getCard
The card this token will represent. If you also pass in a customer, the card must be the ID of a card belonging to the customer. Otherwise, if you do not pass in a customer, this is a dictionary containing a user's credit card details, with the options described below. -
getCustomer
Create a token for the customer, which is owned by the application's account. You can only use this with an OAuth access token or Stripe-Account header. Learn more about cloning saved payment methods. -
getCvcUpdate
The updated CVC value this token represents. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@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. -
getPerson
Information for the person this token represents. -
getPii
The PII this token represents.
-