Package com.stripe.param
Class ExternalAccountUpdateParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.ExternalAccountUpdateParams
-
public class ExternalAccountUpdateParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalAccountUpdateParams.AccountHolderType
static class
ExternalAccountUpdateParams.AccountType
static class
ExternalAccountUpdateParams.Builder
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalAccountUpdateParams.Builder
builder()
java.lang.Object
getAccountHolderName()
The name of the person or business that owns the bank account.ApiRequestParams.EnumParam
getAccountHolderType()
The type of entity that holds the account.ExternalAccountUpdateParams.AccountType
getAccountType()
The bank account type.java.lang.Object
getAddressCity()
City/District/Suburb/Town/Village.java.lang.Object
getAddressCountry()
Billing address country, if provided when creating card.java.lang.Object
getAddressLine1()
Address line 1 (Street address/PO Box/Company name).java.lang.Object
getAddressLine2()
Address line 2 (Apartment/Suite/Unit/Building).java.lang.Object
getAddressState()
State/County/Province/Region.java.lang.Object
getAddressZip()
ZIP or postal code.java.lang.Boolean
getDefaultForCurrency()
When set to true, this becomes the default external account for its currency.java.util.List<java.lang.String>
getExpand()
Specifies which fields in the response should be expanded.java.lang.Object
getExpMonth()
Two digit number representing the card’s expiration month.java.lang.Object
getExpYear()
Four digit number representing the card’s expiration year.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.java.lang.Object
getName()
Cardholder name.-
Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
-
-
-
Method Detail
-
builder
public static ExternalAccountUpdateParams.Builder builder()
-
getAccountHolderName
public java.lang.Object getAccountHolderName()
The name of the person or business that owns the bank account.
-
getAccountHolderType
public ApiRequestParams.EnumParam getAccountHolderType()
The type of entity that holds the account. This can be eitherindividual
orcompany
.
-
getAccountType
public ExternalAccountUpdateParams.AccountType getAccountType()
The bank account type. This can only bechecking
orsavings
in most countries. In Japan, this can only befutsu
ortoza
.
-
getAddressCity
public java.lang.Object getAddressCity()
City/District/Suburb/Town/Village.
-
getAddressCountry
public java.lang.Object getAddressCountry()
Billing address country, if provided when creating card.
-
getAddressLine1
public java.lang.Object getAddressLine1()
Address line 1 (Street address/PO Box/Company name).
-
getAddressLine2
public java.lang.Object getAddressLine2()
Address line 2 (Apartment/Suite/Unit/Building).
-
getAddressState
public java.lang.Object getAddressState()
State/County/Province/Region.
-
getAddressZip
public java.lang.Object getAddressZip()
ZIP or postal code.
-
getDefaultForCurrency
public java.lang.Boolean getDefaultForCurrency()
When set to true, this becomes the default external account for its currency.
-
getExpMonth
public java.lang.Object getExpMonth()
Two digit number representing the card’s expiration month.
-
getExpYear
public java.lang.Object getExpYear()
Four digit number representing the card’s expiration year.
-
getExpand
public java.util.List<java.lang.String> getExpand()
Specifies which fields in the response should be expanded.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> 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.
-
getMetadata
public java.lang.Object getMetadata()
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
.
-
getName
public java.lang.Object getName()
Cardholder name.
-
-