Method: MxPlatformRuby::ManagedAccountCreateRequest#==

Defined in:
lib/mx-platform-ruby/models/managed_account_create_request.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
# File 'lib/mx-platform-ruby/models/managed_account_create_request.rb', line 343

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
       == o. &&
      apr == o.apr &&
      apy == o.apy &&
      available_balance == o.available_balance &&
      available_credit == o.available_credit &&
      balance == o.balance &&
      cash_surrender_value == o.cash_surrender_value &&
      credit_limit == o.credit_limit &&
      currency_code == o.currency_code &&
      day_payment_is_due == o.day_payment_is_due &&
      death_benefit == o.death_benefit &&
      id == o.id &&
      interest_rate == o.interest_rate &&
      is_closed == o.is_closed &&
      is_hidden == o.is_hidden &&
      last_payment == o.last_payment &&
      last_payment_at == o.last_payment_at &&
      loan_amount == o.loan_amount &&
      matures_on == o.matures_on &&
       == o. &&
      minimum_balance == o.minimum_balance &&
      minimum_payment == o.minimum_payment &&
      name == o.name &&
      nickname == o.nickname &&
      original_balance == o.original_balance &&
      payment_due_at == o.payment_due_at &&
      payoff_balance == o.payoff_balance &&
      routing_number == o.routing_number &&
      started_on == o.started_on &&
      subtype == o.subtype &&
      type == o.type
end