Method: DigitalFemsa::CheckoutRequest#hash

Defined in:
lib/digital_femsa/models/checkout_request.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



166
167
168
# File 'lib/digital_femsa/models/checkout_request.rb', line 166

def hash
  [allowed_payment_methods, expires_at, failure_url, name, on_demand_enabled, success_url, type].hash
end