Method: OpenapiClient::Secure3DAuthenticationResponse#valid?
- Defined in:
- lib/openapi_client/models/secure3_d_authentication_response.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
111 112 113 114 115 116 117 |
# File 'lib/openapi_client/models/secure3_d_authentication_response.rb', line 111 def valid? type_validator = EnumAttributeValidator.new('String', ["3D_SECURE"]) return false unless type_validator.valid?(@type) version_validator = EnumAttributeValidator.new('String', ["1.0", "2.1", "2.2"]) return false unless version_validator.valid?(@version) true end |