Method: AmzSpApi::VendorDirectFulfillmentPaymentsApiModel::ChargeDetails#==

Defined in:
lib/vendor-direct-fulfillment-payments-api-model/models/charge_details.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



138
139
140
141
142
143
144
# File 'lib/vendor-direct-fulfillment-payments-api-model/models/charge_details.rb', line 138

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      charge_amount == o.charge_amount &&
      tax_details == o.tax_details
end