Method: OpenapiClient::ManagedRedirectPrimaryRequest#list_invalid_properties
- Defined in:
- lib/openapi_client/models/managed_redirect_primary_request.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/openapi_client/models/managed_redirect_primary_request.rb', line 112 def list_invalid_properties invalid_properties = Array.new if @request_type.nil? invalid_properties.push('invalid value for "request_type", request_type cannot be nil.') end if @transaction_amount.nil? invalid_properties.push('invalid value for "transaction_amount", transaction_amount cannot be nil.') end if !@store_id.nil? && @store_id.to_s.length > 20 invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.') end if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40 invalid_properties.push('invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.') end invalid_properties end |