Method: VoucherifySdk::ManagementProjectsStackingRules#hash

Defined in:
lib/VoucherifySdk/models/management_projects_stacking_rules.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



307
308
309
# File 'lib/VoucherifySdk/models/management_projects_stacking_rules.rb', line 307

def hash
  [id, exclusive_categories, joint_categories, redeemables_limit, applicable_redeemables_limit, applicable_redeemables_per_category_limit, applicable_exclusive_redeemables_limit, applicable_exclusive_redeemables_per_category_limit, discount_calculation_mode, initial_amount_mode_categories, discounted_amount_mode_categories, redeemables_application_mode, redeemables_sorting_rule, created_at, updated_at].hash
end