Class: Stripe::Account::UpdateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Account::UpdateParams::Card
- Defined in:
- lib/stripe/resources/account.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.
-
#default_for_currency ⇒ Object
Attribute for param field default_for_currency.
-
#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, default_for_currency: 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, default_for_currency: nil) ⇒ Card
Returns a new instance of Card.
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 |
# File 'lib/stripe/resources/account.rb', line 2251 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, default_for_currency: 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 = @default_for_currency = default_for_currency end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
2223 2224 2225 |
# File 'lib/stripe/resources/account.rb', line 2223 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
2225 2226 2227 |
# File 'lib/stripe/resources/account.rb', line 2225 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
2227 2228 2229 |
# File 'lib/stripe/resources/account.rb', line 2227 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
2229 2230 2231 |
# File 'lib/stripe/resources/account.rb', line 2229 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
2231 2232 2233 |
# File 'lib/stripe/resources/account.rb', line 2231 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
2233 2234 2235 |
# File 'lib/stripe/resources/account.rb', line 2233 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
2235 2236 2237 |
# File 'lib/stripe/resources/account.rb', line 2235 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
2237 2238 2239 |
# File 'lib/stripe/resources/account.rb', line 2237 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
2249 2250 2251 |
# File 'lib/stripe/resources/account.rb', line 2249 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
2239 2240 2241 |
# File 'lib/stripe/resources/account.rb', line 2239 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
2241 2242 2243 |
# File 'lib/stripe/resources/account.rb', line 2241 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.
2247 2248 2249 |
# File 'lib/stripe/resources/account.rb', line 2247 def @metadata end |
#name ⇒ Object
Attribute for param field name
2243 2244 2245 |
# File 'lib/stripe/resources/account.rb', line 2243 def name @name end |
#number ⇒ Object
Attribute for param field number
2245 2246 2247 |
# File 'lib/stripe/resources/account.rb', line 2245 def number @number end |
#object ⇒ Object
Attribute for param field object
2221 2222 2223 |
# File 'lib/stripe/resources/account.rb', line 2221 def object @object end |