Method: Api::ChargeResult#==
- Defined in:
- lib/jamm/api/models/v1_charge_result.rb
#==(other) ⇒ Object
Checks equality by comparing each attribute.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/jamm/api/models/v1_charge_result.rb', line 141 def ==(other) return true if equal?(other) self.class == other.class && charge_id == other.charge_id && paid == other.paid && reason == other.reason && description == other.description && merchant_name == other.merchant_name && initial_amount == other.initial_amount && discount == other.discount && final_amount == other.final_amount && amount_refunded == other.amount_refunded && currency == other.currency && token_id == other.token_id && == other. && created_at == other.created_at && updated_at == other.updated_at && processed_at == other.processed_at end |