Class: InvestecOpenApi::Models::Account
- Defined in:
- lib/investec_open_api/models/account.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#kyc_compliant ⇒ Object
readonly
Returns the value of attribute kyc_compliant.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#product_name ⇒ Object
readonly
Returns the value of attribute product_name.
-
#profile_id ⇒ Object
readonly
Returns the value of attribute profile_id.
-
#profile_name ⇒ Object
readonly
Returns the value of attribute profile_name.
-
#reference_name ⇒ Object
readonly
Returns the value of attribute reference_name.
Class Method Summary collapse
Methods inherited from Base
convert_param_value_to_date, convert_param_value_to_money, #initialize, rewrite_param_key
Constructor Details
This class inherits a constructor from InvestecOpenApi::Models::Base
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def id @id end |
#kyc_compliant ⇒ Object (readonly)
Returns the value of attribute kyc_compliant.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def kyc_compliant @kyc_compliant end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def name @name end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def number @number end |
#product_name ⇒ Object (readonly)
Returns the value of attribute product_name.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def product_name @product_name end |
#profile_id ⇒ Object (readonly)
Returns the value of attribute profile_id.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def profile_id @profile_id end |
#profile_name ⇒ Object (readonly)
Returns the value of attribute profile_name.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def profile_name @profile_name end |
#reference_name ⇒ Object (readonly)
Returns the value of attribute reference_name.
3 4 5 |
# File 'lib/investec_open_api/models/account.rb', line 3 def reference_name @reference_name end |
Class Method Details
.from_api(params = {}) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/investec_open_api/models/account.rb', line 12 def self.from_api(params = {}) rewrite_param_key(params, "accountId", "id") rewrite_param_key(params, "accountNumber", "number") rewrite_param_key(params, "accountName", "name") new params end |