lib/plaid/models/liability_override.rb in plaid-14.0.0.beta.4 vs lib/plaid/models/liability_override.rb in plaid-14.0.0.beta.5.pre.plural.pre.income.pre.breakdown

- old
+ new

@@ -1,11 +1,11 @@ =begin #The Plaid API #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.11.0 +The version of the OpenAPI document: 2020-09-14_1.16.6 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 =end @@ -32,14 +32,11 @@ attr_accessor :special_apr # Override the `last_payment_amount` field. Can only be set if `type` is `credit`. attr_accessor :last_payment_amount - # Override the `last_statement_balance` field. Can only be set if `type` is `credit`. - attr_accessor :last_statement_balance - - # Override the `minimum_payment_amount` field. Can only be set if `type` is `credit`. + # Override the `minimum_payment_amount` field. Can only be set if `type` is `credit` or `student`. attr_accessor :minimum_payment_amount # Override the `is_overdue` field attr_accessor :is_overdue @@ -94,11 +91,10 @@ :'purchase_apr' => :'purchase_apr', :'cash_apr' => :'cash_apr', :'balance_transfer_apr' => :'balance_transfer_apr', :'special_apr' => :'special_apr', :'last_payment_amount' => :'last_payment_amount', - :'last_statement_balance' => :'last_statement_balance', :'minimum_payment_amount' => :'minimum_payment_amount', :'is_overdue' => :'is_overdue', :'origination_date' => :'origination_date', :'principal' => :'principal', :'nominal_apr' => :'nominal_apr', @@ -130,11 +126,10 @@ :'purchase_apr' => :'Float', :'cash_apr' => :'Float', :'balance_transfer_apr' => :'Float', :'special_apr' => :'Float', :'last_payment_amount' => :'Float', - :'last_statement_balance' => :'Float', :'minimum_payment_amount' => :'Float', :'is_overdue' => :'Boolean', :'origination_date' => :'String', :'principal' => :'Float', :'nominal_apr' => :'Float', @@ -197,14 +192,10 @@ if attributes.key?(:'last_payment_amount') self.last_payment_amount = attributes[:'last_payment_amount'] end - if attributes.key?(:'last_statement_balance') - self.last_statement_balance = attributes[:'last_statement_balance'] - end - if attributes.key?(:'minimum_payment_amount') self.minimum_payment_amount = attributes[:'minimum_payment_amount'] end if attributes.key?(:'is_overdue') @@ -302,14 +293,10 @@ if @last_payment_amount.nil? invalid_properties.push('invalid value for "last_payment_amount", last_payment_amount cannot be nil.') end - if @last_statement_balance.nil? - invalid_properties.push('invalid value for "last_statement_balance", last_statement_balance cannot be nil.') - end - if @minimum_payment_amount.nil? invalid_properties.push('invalid value for "minimum_payment_amount", minimum_payment_amount cannot be nil.') end if @is_overdue.nil? @@ -390,11 +377,10 @@ return false if @purchase_apr.nil? return false if @cash_apr.nil? return false if @balance_transfer_apr.nil? return false if @special_apr.nil? return false if @last_payment_amount.nil? - return false if @last_statement_balance.nil? return false if @minimum_payment_amount.nil? return false if @is_overdue.nil? return false if @origination_date.nil? return false if @principal.nil? return false if @nominal_apr.nil? @@ -423,11 +409,10 @@ purchase_apr == o.purchase_apr && cash_apr == o.cash_apr && balance_transfer_apr == o.balance_transfer_apr && special_apr == o.special_apr && last_payment_amount == o.last_payment_amount && - last_statement_balance == o.last_statement_balance && minimum_payment_amount == o.minimum_payment_amount && is_overdue == o.is_overdue && origination_date == o.origination_date && principal == o.principal && nominal_apr == o.nominal_apr && @@ -453,10 +438,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [type, purchase_apr, cash_apr, balance_transfer_apr, special_apr, last_payment_amount, last_statement_balance, minimum_payment_amount, is_overdue, origination_date, principal, nominal_apr, interest_capitalization_grace_period_months, repayment_model, expected_payoff_date, guarantor, is_federal, loan_name, loan_status, payment_reference_number, pslf_status, repayment_plan_description, repayment_plan_type, sequence_number, servicer_address].hash + [type, purchase_apr, cash_apr, balance_transfer_apr, special_apr, last_payment_amount, minimum_payment_amount, is_overdue, origination_date, principal, nominal_apr, interest_capitalization_grace_period_months, repayment_model, expected_payoff_date, guarantor, is_federal, loan_name, loan_status, payment_reference_number, pslf_status, repayment_plan_description, repayment_plan_type, sequence_number, servicer_address].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself