class

Plaid::CountryCode

Inherits OpenApi::Json < OpenApi::Validatable < Reference < Object

Constants

ERROR_MESSAGE = "invalid value for \"CountryCode\", must be one of [\"US\", \"GB\", \"ES\", \"NL\", \"FR\", \"IE\", \"CA\", \"DE\", \"IT\", \"PL\", \"DK\", \"NO\", \"SE\", \"EE\", \"LT\", \"LV\", \"PT\", \"BE\"]."
VALID_VALUES = String.static_array("US", "GB", "ES", "NL", "FR", "IE", "CA", "DE", "IT", "PL", "DK", "NO", "SE", "EE", "LT", "LV", "PT", "BE")

Constructors

from_json(value : JSON::PullParser) : CountryCode
Source
new(data : String, strict : Bool = true)
Source

Class methods

from_json_object_key?(key : String)
Source
to_json(value : CountryCode, json : JSON::Builder) : Nil
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

data
Source
data=(data : String)
Source
error_message
Source
hash(hasher)

See Object#hash(hasher)

list_invalid_properties
Source
to_json(json : JSON::Builder) : Nil
Source
to_json_object_key(*args, **options)
Source
to_json_object_key(*args, **options, &)
Source
valid?
Source
validate
Source