Method: OpenapiClient::AccountVerificationRequest#valid?
- Defined in:
- lib/openapi_client/models/account_verification_request.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
115 116 117 118 119 120 |
# File 'lib/openapi_client/models/account_verification_request.rb', line 115 def valid? return false if @request_type.nil? return false if !@store_id.nil? && @store_id.to_s.length > 20 return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40 true end |