Class: Stripe::ExternalAccountService::CreateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ExternalAccountService::CreateParams::Card
- Defined in:
- lib/stripe/services/external_account_service.rb
Instance Attribute Summary collapse
-
#address_city ⇒ Object
Attribute for param field address_city.
-
#address_country ⇒ Object
Attribute for param field address_country.
-
#address_line1 ⇒ Object
Attribute for param field address_line1.
-
#address_line2 ⇒ Object
Attribute for param field address_line2.
-
#address_state ⇒ Object
Attribute for param field address_state.
-
#address_zip ⇒ Object
Attribute for param field address_zip.
-
#currency ⇒ Object
Attribute for param field currency.
-
#cvc ⇒ Object
Attribute for param field cvc.
-
#exp_month ⇒ Object
Attribute for param field exp_month.
-
#exp_year ⇒ Object
Attribute for param field exp_year.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#name ⇒ Object
Attribute for param field name.
-
#number ⇒ Object
Attribute for param field number.
-
#object ⇒ Object
Attribute for param field object.
Instance Method Summary collapse
-
#initialize(object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, exp_month: nil, exp_year: nil, name: nil, number: nil, metadata: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
Constructor Details
#initialize(object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, exp_month: nil, exp_year: nil, name: nil, number: nil, metadata: nil) ⇒ Card
Returns a new instance of Card.
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/stripe/services/external_account_service.rb', line 192 def initialize( object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, exp_month: nil, exp_year: nil, name: nil, number: nil, metadata: nil ) @object = object @address_city = address_city @address_country = address_country @address_line1 = address_line1 @address_line2 = address_line2 @address_state = address_state @address_zip = address_zip @currency = currency @cvc = cvc @exp_month = exp_month @exp_year = exp_year @name = name @number = number @metadata = end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
166 167 168 |
# File 'lib/stripe/services/external_account_service.rb', line 166 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
168 169 170 |
# File 'lib/stripe/services/external_account_service.rb', line 168 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
170 171 172 |
# File 'lib/stripe/services/external_account_service.rb', line 170 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
172 173 174 |
# File 'lib/stripe/services/external_account_service.rb', line 172 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
174 175 176 |
# File 'lib/stripe/services/external_account_service.rb', line 174 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
176 177 178 |
# File 'lib/stripe/services/external_account_service.rb', line 176 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
178 179 180 |
# File 'lib/stripe/services/external_account_service.rb', line 178 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
180 181 182 |
# File 'lib/stripe/services/external_account_service.rb', line 180 def cvc @cvc end |
#exp_month ⇒ Object
Attribute for param field exp_month
182 183 184 |
# File 'lib/stripe/services/external_account_service.rb', line 182 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
184 185 186 |
# File 'lib/stripe/services/external_account_service.rb', line 184 def exp_year @exp_year 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.
190 191 192 |
# File 'lib/stripe/services/external_account_service.rb', line 190 def @metadata end |
#name ⇒ Object
Attribute for param field name
186 187 188 |
# File 'lib/stripe/services/external_account_service.rb', line 186 def name @name end |
#number ⇒ Object
Attribute for param field number
188 189 190 |
# File 'lib/stripe/services/external_account_service.rb', line 188 def number @number end |
#object ⇒ Object
Attribute for param field object
164 165 166 |
# File 'lib/stripe/services/external_account_service.rb', line 164 def object @object end |