Method: VoucherifySdk::ManagementProjectsStackingRules#==
- Defined in:
- lib/VoucherifySdk/models/management_projects_stacking_rules.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'lib/VoucherifySdk/models/management_projects_stacking_rules.rb', line 279 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && exclusive_categories == o.exclusive_categories && joint_categories == o.joint_categories && redeemables_limit == o.redeemables_limit && applicable_redeemables_limit == o.applicable_redeemables_limit && applicable_redeemables_per_category_limit == o.applicable_redeemables_per_category_limit && applicable_exclusive_redeemables_limit == o.applicable_exclusive_redeemables_limit && applicable_exclusive_redeemables_per_category_limit == o.applicable_exclusive_redeemables_per_category_limit && discount_calculation_mode == o.discount_calculation_mode && initial_amount_mode_categories == o.initial_amount_mode_categories && discounted_amount_mode_categories == o.discounted_amount_mode_categories && redeemables_application_mode == o.redeemables_application_mode && redeemables_sorting_rule == o.redeemables_sorting_rule && created_at == o.created_at && updated_at == o.updated_at end |