Method: OpenapiClient::CardInfoLookupRequest#valid?

Defined in:
lib/openapi_client/models/card_info_lookup_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



80
81
82
83
84
# File 'lib/openapi_client/models/card_info_lookup_request.rb', line 80

def valid?
  return false if !@store_id.nil? && @store_id.to_s.length > 20
  return false if @payment_card.nil?
  true
end