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.
2268
2269
2270
2271
|
# File 'lib/webpay/data_types.rb', line 2268
def initialize(hash = {})
hash = normalize_hash(hash)
@attributes = hash
end
|
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
2261
2262
2263
|
# File 'lib/webpay/data_types.rb', line 2261
def attributes
@attributes
end
|
Class Method Details
.fields ⇒ Object
2263
2264
2265
|
# File 'lib/webpay/data_types.rb', line 2263
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
2304
2305
2306
|
# File 'lib/webpay/data_types.rb', line 2304
def card_types_supported
attributes['card_types_supported']
end
|
#charge_enabled ⇒ Object
2284
2285
2286
|
# File 'lib/webpay/data_types.rb', line 2284
def charge_enabled
attributes['charge_enabled']
end
|
#currencies_supported ⇒ Object
2288
2289
2290
|
# File 'lib/webpay/data_types.rb', line 2288
def currencies_supported
attributes['currencies_supported']
end
|
#details_submitted ⇒ Object
2292
2293
2294
|
# File 'lib/webpay/data_types.rb', line 2292
def details_submitted
attributes['details_submitted']
end
|
#email ⇒ Object
2296
2297
2298
|
# File 'lib/webpay/data_types.rb', line 2296
def email
attributes['email']
end
|
#id ⇒ Object
2276
2277
2278
|
# File 'lib/webpay/data_types.rb', line 2276
def id
attributes['id']
end
|
#object ⇒ Object
2280
2281
2282
|
# File 'lib/webpay/data_types.rb', line 2280
def object
attributes['object']
end
|
#statement_descriptor ⇒ Object
2300
2301
2302
|
# File 'lib/webpay/data_types.rb', line 2300
def statement_descriptor
attributes['statement_descriptor']
end
|