Method: Bitpesa::Recipient#==
- Defined in:
- lib/bitpesa-sdk/models/recipient.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/bitpesa-sdk/models/recipient.rb', line 247 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 && input_usd_amount == o.input_usd_amount && may_cancel == o.may_cancel && state_reason == o.state_reason && state == o.state && transaction_id == o.transaction_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 |