Class: Stripe::AccountExternalAccountUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountExternalAccountUpdateParams
- Defined in:
- lib/stripe/params/account_external_account_update_params.rb
Defined Under Namespace
Classes: Documents
Instance Attribute Summary collapse
-
#account_holder_name ⇒ Object
The name of the person or business that owns the bank account.
-
#account_holder_type ⇒ Object
The type of entity that holds the account.
-
#account_type ⇒ Object
The bank account type.
-
#address_city ⇒ Object
City/District/Suburb/Town/Village.
-
#address_country ⇒ Object
Billing address country, if provided when creating card.
-
#address_line1 ⇒ Object
Address line 1 (Street address/PO Box/Company name).
-
#address_line2 ⇒ Object
Address line 2 (Apartment/Suite/Unit/Building).
-
#address_state ⇒ Object
State/County/Province/Region.
-
#address_zip ⇒ Object
ZIP or postal code.
-
#default_for_currency ⇒ Object
When set to true, this becomes the default external account for its currency.
-
#documents ⇒ Object
Documents that may be submitted to satisfy various informational requests.
-
#exp_month ⇒ Object
Two digit number representing the card’s expiration month.
-
#exp_year ⇒ Object
Four digit number representing the card’s expiration year.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#name ⇒ Object
Cardholder name.
Instance Method Summary collapse
-
#initialize(account_holder_name: nil, account_holder_type: nil, account_type: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, default_for_currency: nil, documents: nil, exp_month: nil, exp_year: nil, expand: nil, metadata: nil, name: nil) ⇒ AccountExternalAccountUpdateParams
constructor
A new instance of AccountExternalAccountUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(account_holder_name: nil, account_holder_type: nil, account_type: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, default_for_currency: nil, documents: nil, exp_month: nil, exp_year: nil, expand: nil, metadata: nil, name: nil) ⇒ AccountExternalAccountUpdateParams
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 55 def initialize( account_holder_name: nil, account_holder_type: nil, account_type: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, default_for_currency: nil, documents: nil, exp_month: nil, exp_year: nil, expand: nil, metadata: nil, name: nil ) @account_holder_name = account_holder_name @account_holder_type = account_holder_type @account_type = account_type @address_city = address_city @address_country = address_country @address_line1 = address_line1 @address_line2 = address_line2 @address_state = address_state @address_zip = address_zip @default_for_currency = default_for_currency @documents = documents @exp_month = exp_month @exp_year = exp_year @expand = @metadata = @name = name end |
Instance Attribute Details
#account_holder_name ⇒ Object
The name of the person or business that owns the bank account.
23 24 25 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 23 def account_holder_name @account_holder_name end |
#account_holder_type ⇒ Object
The type of entity that holds the account. This can be either ‘individual` or `company`.
25 26 27 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 25 def account_holder_type @account_holder_type end |
#account_type ⇒ Object
The bank account type. This can only be ‘checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.
27 28 29 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 27 def account_type @account_type end |
#address_city ⇒ Object
City/District/Suburb/Town/Village.
29 30 31 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 29 def address_city @address_city end |
#address_country ⇒ Object
Billing address country, if provided when creating card.
31 32 33 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 31 def address_country @address_country end |
#address_line1 ⇒ Object
Address line 1 (Street address/PO Box/Company name).
33 34 35 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 33 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Address line 2 (Apartment/Suite/Unit/Building).
35 36 37 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 35 def address_line2 @address_line2 end |
#address_state ⇒ Object
State/County/Province/Region.
37 38 39 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 37 def address_state @address_state end |
#address_zip ⇒ Object
ZIP or postal code.
39 40 41 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 39 def address_zip @address_zip end |
#default_for_currency ⇒ Object
When set to true, this becomes the default external account for its currency.
41 42 43 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 41 def default_for_currency @default_for_currency end |
#documents ⇒ Object
Documents that may be submitted to satisfy various informational requests.
43 44 45 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 43 def documents @documents end |
#exp_month ⇒ Object
Two digit number representing the card’s expiration month.
45 46 47 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 45 def exp_month @exp_month end |
#exp_year ⇒ Object
Four digit number representing the card’s expiration year.
47 48 49 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 47 def exp_year @exp_year end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
49 50 51 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 49 def @expand end |
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) 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 to ‘metadata`.
51 52 53 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 51 def @metadata end |
#name ⇒ Object
Cardholder name.
53 54 55 |
# File 'lib/stripe/params/account_external_account_update_params.rb', line 53 def name @name end |