lib/atrium-ruby/models/account.rb in atrium-ruby-2.10.2 vs lib/atrium-ruby/models/account.rb in atrium-ruby-2.10.3

- old
+ new

@@ -38,10 +38,12 @@ attr_accessor :guid attr_accessor :holdings_value + attr_accessor :insured_name + attr_accessor :institution_code attr_accessor :interest_rate attr_accessor :is_closed @@ -64,10 +66,14 @@ attr_accessor :payment_due_at attr_accessor :payoff_balance + attr_accessor :pay_out_amount + + attr_accessor :premium_amount + attr_accessor :started_on attr_accessor :subtype attr_accessor :total_account_value @@ -94,10 +100,11 @@ :'currency_code' => :'currency_code', :'day_payment_is_due' => :'day_payment_is_due', :'death_benefit' => :'death_benefit', :'guid' => :'guid', :'holdings_value' => :'holdings_value', + :'insured_name' => :'insured_name', :'institution_code' => :'institution_code', :'interest_rate' => :'interest_rate', :'is_closed' => :'is_closed', :'last_payment' => :'last_payment', :'loan_amount' => :'loan_amount', @@ -107,10 +114,12 @@ :'minimum_payment' => :'minimum_payment', :'name' => :'name', :'original_balance' => :'original_balance', :'payment_due_at' => :'payment_due_at', :'payoff_balance' => :'payoff_balance', + :'pay_out_amount' => :'pay_out_amount', + :'premium_amount' => :'premium_amount', :'started_on' => :'started_on', :'subtype' => :'subtype', :'total_account_value' => :'total_account_value', :'type' => :'type', :'updated_at' => :'updated_at', @@ -134,10 +143,11 @@ :'currency_code' => :'String', :'day_payment_is_due' => :'Integer', :'death_benefit' => :'Float', :'guid' => :'String', :'holdings_value' => :'Float', + :'insured_name' => :'String', :'institution_code' => :'String', :'interest_rate' => :'Float', :'is_closed' => :'BOOLEAN', :'last_payment' => :'Float', :'loan_amount' => :'Float', @@ -147,10 +157,12 @@ :'minimum_payment' => :'Float', :'name' => :'String', :'original_balance' => :'Float', :'payment_due_at' => :'String', :'payoff_balance' => :'Float', + :'pay_out_amount' => :'Float', + :'premium_amount' => :'Float', :'started_on' => :'String', :'subtype' => :'String', :'total_account_value' => :'Float', :'type' => :'String', :'updated_at' => :'String', @@ -224,10 +236,14 @@ if attributes.has_key?(:'holdings_value') self.holdings_value = attributes[:'holdings_value'] end + if attributes.has_key?(:'insured_name') + self.insured_name = attributes[:'insured_name'] + end + if attributes.has_key?(:'institution_code') self.institution_code = attributes[:'institution_code'] end if attributes.has_key?(:'interest_rate') @@ -276,10 +292,18 @@ if attributes.has_key?(:'payoff_balance') self.payoff_balance = attributes[:'payoff_balance'] end + if attributes.has_key?(:'pay_out_amount') + self.pay_out_amount = attributes[:'pay_out_amount'] + end + + if attributes.has_key?(:'premium_amount') + self.premium_amount = attributes[:'premium_amount'] + end + if attributes.has_key?(:'started_on') self.started_on = attributes[:'started_on'] end if attributes.has_key?(:'subtype') @@ -334,10 +358,11 @@ currency_code == o.currency_code && day_payment_is_due == o.day_payment_is_due && death_benefit == o.death_benefit && guid == o.guid && holdings_value == o.holdings_value && + insured_name == o.insured_name && institution_code == o.institution_code && interest_rate == o.interest_rate && is_closed == o.is_closed && last_payment == o.last_payment && loan_amount == o.loan_amount && @@ -347,10 +372,12 @@ minimum_payment == o.minimum_payment && name == o.name && original_balance == o.original_balance && payment_due_at == o.payment_due_at && payoff_balance == o.payoff_balance && + pay_out_amount == o.pay_out_amount && + premium_amount == o.premium_amount && started_on == o.started_on && subtype == o.subtype && total_account_value == o.total_account_value && type == o.type && updated_at == o.updated_at && @@ -364,10 +391,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [account_number, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, institution_code, interest_rate, is_closed, last_payment, loan_amount, matures_on, member_guid, minimum_balance, minimum_payment, name, original_balance, payment_due_at, payoff_balance, started_on, subtype, total_account_value, type, updated_at, user_guid].hash + [account_number, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, insured_name, institution_code, interest_rate, is_closed, last_payment, loan_amount, matures_on, member_guid, minimum_balance, minimum_payment, name, original_balance, payment_due_at, payoff_balance, pay_out_amount, premium_amount, started_on, subtype, total_account_value, type, updated_at, user_guid].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself