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.
2333
2334
2335
2336
|
# File 'lib/webpay/data_types.rb', line 2333
def initialize(hash = {})
hash = normalize_hash(hash)
@attributes = hash
end
|
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
2326
2327
2328
|
# File 'lib/webpay/data_types.rb', line 2326
def attributes
@attributes
end
|
Class Method Details
.fields ⇒ Object
2328
2329
2330
|
# File 'lib/webpay/data_types.rb', line 2328
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
2369
2370
2371
|
# File 'lib/webpay/data_types.rb', line 2369
def card_types_supported
attributes['card_types_supported']
end
|
#charge_enabled ⇒ Object
2349
2350
2351
|
# File 'lib/webpay/data_types.rb', line 2349
def charge_enabled
attributes['charge_enabled']
end
|
#currencies_supported ⇒ Object
2353
2354
2355
|
# File 'lib/webpay/data_types.rb', line 2353
def currencies_supported
attributes['currencies_supported']
end
|
#details_submitted ⇒ Object
2357
2358
2359
|
# File 'lib/webpay/data_types.rb', line 2357
def details_submitted
attributes['details_submitted']
end
|
#email ⇒ Object
2361
2362
2363
|
# File 'lib/webpay/data_types.rb', line 2361
def email
attributes['email']
end
|
#id ⇒ Object
2341
2342
2343
|
# File 'lib/webpay/data_types.rb', line 2341
def id
attributes['id']
end
|
#object ⇒ Object
2345
2346
2347
|
# File 'lib/webpay/data_types.rb', line 2345
def object
attributes['object']
end
|
#statement_descriptor ⇒ Object
2365
2366
2367
|
# File 'lib/webpay/data_types.rb', line 2365
def statement_descriptor
attributes['statement_descriptor']
end
|