Method: OpenapiClient::ManagedRedirectPrimaryRequest#valid?
- Defined in:
- lib/openapi_client/models/managed_redirect_primary_request.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
135 136 137 138 139 140 141 |
# File 'lib/openapi_client/models/managed_redirect_primary_request.rb', line 135 def valid? return false if @request_type.nil? return false if @transaction_amount.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 |