Method: TransferZero::Recipient#==

Defined in:
lib/transferzero-sdk/models/recipient.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.



280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
# File 'lib/transferzero-sdk/models/recipient.rb', line 280

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      requested_amount == o.requested_amount &&
      requested_currency == o.requested_currency &&
      payout_method == o.payout_method &&
       == o. &&
      created_at == o.created_at &&
      editable == o.editable &&
      retriable == o.retriable &&
      input_usd_amount == o.input_usd_amount &&
      may_cancel == o.may_cancel &&
      state_reason == o.state_reason &&
      state_reason_details == o.state_reason_details &&
      state == o.state &&
      transaction_id == o.transaction_id &&
      transaction_external_id == o.transaction_external_id &&
      transaction_state == o.transaction_state &&
      exchange_rate == o.exchange_rate &&
      fee_fractional == o.fee_fractional &&
      input_amount == o.input_amount &&
      input_currency == o.input_currency &&
      output_amount == o.output_amount &&
      output_currency == o.output_currency &&
      id == o.id &&
      errors == o.errors
end