Method: UltracartClient::OrderPayment#==
- Defined in:
- lib/ultracart_api/models/order_payment.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 |
# File 'lib/ultracart_api/models/order_payment.rb', line 292 def ==(o) return true if self.equal?(o) self.class == o.class && check == o.check && credit_card == o.credit_card && echeck == o.echeck && health_benefit_card == o.health_benefit_card && hold_for_fraud_review == o.hold_for_fraud_review && insurance == o.insurance && payment_dts == o.payment_dts && payment_method == o.payment_method && payment_method_accounting_code == o.payment_method_accounting_code && payment_method_deposit_to_account == o.payment_method_deposit_to_account && payment_status == o.payment_status && paypal == o.paypal && purchase_order == o.purchase_order && rotating_transaction_gateway_code == o.rotating_transaction_gateway_code && surcharge == o.surcharge && surcharge_accounting_code == o.surcharge_accounting_code && surcharge_transaction_fee == o.surcharge_transaction_fee && surcharge_transaction_percentage == o.surcharge_transaction_percentage && test_order == o.test_order && transactions == o.transactions end |