Method: OpenapiClient::Order#==

Defined in:
lib/openapi_client/models/order.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



141
142
143
144
145
146
147
148
149
150
151
152
# File 'lib/openapi_client/models/order.rb', line 141

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      order_id == o.order_id &&
      billing == o.billing &&
      shipping == o.shipping &&
      industry_specific_extensions == o.industry_specific_extensions &&
      purchase_card == o.purchase_card &&
      installment_options == o.installment_options &&
      soft_descriptor == o.soft_descriptor &&
      additional_details == o.additional_details
end