Method: CyberSource::Ptsv2intentsOrderInformationAmountDetails#==

Defined in:
lib/cybersource_rest_client/models/ptsv2intents_order_information_amount_details.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



186
187
188
189
190
191
192
193
194
195
196
197
# File 'lib/cybersource_rest_client/models/ptsv2intents_order_information_amount_details.rb', line 186

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      total_amount == o.total_amount &&
      currency == o.currency &&
      discount_amount == o.discount_amount &&
      shipping_amount == o.shipping_amount &&
      shipping_discount_amount == o.shipping_discount_amount &&
      tax_amount == o.tax_amount &&
      insurance_amount == o.insurance_amount &&
      duty_amount == o.duty_amount
end