Method: DigitalFemsa::CheckoutRequest#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



138
139
140
141
142
# File 'lib/digital_femsa/models/checkout_request.rb', line 138

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @allowed_payment_methods.nil?
  true
end