Class: WebPay::AccountResponse
- Inherits:
-
Entity
- Object
- Entity
- WebPay::AccountResponse
show all
- Defined in:
- lib/webpay/data_types.rb
Overview
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Entity
#normalize_hash, #to_h, #to_s
Constructor Details
Returns a new instance of AccountResponse.
2352
2353
2354
2355
|
# File 'lib/webpay/data_types.rb', line 2352
def initialize(hash = {})
hash = normalize_hash(hash)
@attributes = hash
end
|
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
2345
2346
2347
|
# File 'lib/webpay/data_types.rb', line 2345
def attributes
@attributes
end
|
Class Method Details
.fields ⇒ Object
2347
2348
2349
|
# File 'lib/webpay/data_types.rb', line 2347
def self.fields
['id', 'object', 'charge_enabled', 'currencies_supported', 'details_submitted', 'email', 'statement_descriptor', 'card_types_supported']
end
|
Instance Method Details
#card_types_supported ⇒ Object
2388
2389
2390
|
# File 'lib/webpay/data_types.rb', line 2388
def card_types_supported
attributes['card_types_supported']
end
|
#charge_enabled ⇒ Object
2368
2369
2370
|
# File 'lib/webpay/data_types.rb', line 2368
def charge_enabled
attributes['charge_enabled']
end
|
#currencies_supported ⇒ Object
2372
2373
2374
|
# File 'lib/webpay/data_types.rb', line 2372
def currencies_supported
attributes['currencies_supported']
end
|
#details_submitted ⇒ Object
2376
2377
2378
|
# File 'lib/webpay/data_types.rb', line 2376
def details_submitted
attributes['details_submitted']
end
|
#email ⇒ Object
2380
2381
2382
|
# File 'lib/webpay/data_types.rb', line 2380
def email
attributes['email']
end
|
#id ⇒ Object
2360
2361
2362
|
# File 'lib/webpay/data_types.rb', line 2360
def id
attributes['id']
end
|
#object ⇒ Object
2364
2365
2366
|
# File 'lib/webpay/data_types.rb', line 2364
def object
attributes['object']
end
|
#statement_descriptor ⇒ Object
2384
2385
2386
|
# File 'lib/webpay/data_types.rb', line 2384
def statement_descriptor
attributes['statement_descriptor']
end
|