Method: OpenapiClient::SubMerchantSplit#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



119
120
121
122
123
124
# File 'lib/openapi_client/models/sub_merchant_split.rb', line 119

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      merchant_id == o.merchant_id &&
      amount == o.amount
end