Method: OrderCloud::PriceSchedule#==
- Defined in:
- lib/order_cloud/models/price_schedule.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/order_cloud/models/price_schedule.rb', line 149 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && name == o.name && apply_tax == o.apply_tax && apply_shipping == o.apply_shipping && min_quantity == o.min_quantity && max_quantity == o.max_quantity && use_cumulative_quantity == o.use_cumulative_quantity && restricted_quantity == o.restricted_quantity && price_breaks == o.price_breaks && xp == o.xp end |