Method: OpenapiClient::PurchaseLabelWithoutShipment#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



99
100
101
102
103
104
105
106
# File 'lib/openapi_client/models/purchase_label_without_shipment.rb', line 99

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      validate_address == o.validate_address &&
      label_layout == o.label_layout &&
      label_format == o.label_format &&
      label_download_type == o.label_download_type
end