Method: VoucherifySdk::CustomerSummaryRedemptions#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



166
167
168
# File 'lib/VoucherifySdk/models/customer_summary_redemptions.rb', line 166

def hash
  [total_redeemed, total_failed, total_succeeded, total_rolled_back, total_rollback_failed, total_rollback_succeeded, gift, loyalty_card].hash
end