Method: TransferZero::Transaction#==
- Defined in:
- lib/transferzero-sdk/models/transaction.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 |
# File 'lib/transferzero-sdk/models/transaction.rb', line 222 def ==(o) return true if self.equal?(o) self.class == o.class && input_currency == o.input_currency && == o. && == o. && sender == o.sender && recipients == o.recipients && traits == o.traits && state == o.state && input_amount == o.input_amount && == o. && paid_amount == o.paid_amount && due_amount == o.due_amount && created_at == o.created_at && expires_at == o.expires_at && external_id == o.external_id && id == o.id && errors == o.errors end |