class Plaid::DocType

Included Modules

Defined in:

plaid/models/doc_type.cr

Constant Summary

ERROR_MESSAGE = "invalid value for \"DocType\", must be one of [\"UNKNOWN\", \"DOCUMENT_TYPE_PAYSTUB\", \"DOCUMENT_TYPE_BANK_STATEMENT\", \"DOCUMENT_TYPE_US_TAX_W2\", \"DOCUMENT_TYPE_US_MILITARY_ERAS\", \"DOCUMENT_TYPE_US_MILITARY_LES\", \"DOCUMENT_TYPE_US_MILITARY_CLES\", \"DOCUMENT_TYPE_GIG\", \"DOCUMENT_TYPE_NONE\", \"DOCUMENT_TYPE_US_TAX_1099_MISC\", \"DOCUMENT_TYPE_US_TAX_1099_K\", \"DOCUMENT_TYPE_PLAID_GENERATED_PAYSTUB_PDF\"]."
VALID_VALUES = String.static_array("UNKNOWN", "DOCUMENT_TYPE_PAYSTUB", "DOCUMENT_TYPE_BANK_STATEMENT", "DOCUMENT_TYPE_US_TAX_W2", "DOCUMENT_TYPE_US_MILITARY_ERAS", "DOCUMENT_TYPE_US_MILITARY_LES", "DOCUMENT_TYPE_US_MILITARY_CLES", "DOCUMENT_TYPE_GIG", "DOCUMENT_TYPE_NONE", "DOCUMENT_TYPE_US_TAX_1099_MISC", "DOCUMENT_TYPE_US_TAX_1099_K", "DOCUMENT_TYPE_PLAID_GENERATED_PAYSTUB_PDF")

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module OpenApi::Json

after_initialize after_initialize, eql?(o : self) eql?, to_hash : Hash(String, JSON::Any) to_hash, to_json_any : JSON::Any to_json_any

Class methods inherited from module OpenApi::Json

build_from_hash(hash : Hash) build_from_hash, build_from_json_any(json_any : JSON::Any) build_from_json_any

Instance methods inherited from module OpenApi::Validatable

list_invalid_properties : Array(String) list_invalid_properties, list_invalid_properties_for(key : String) : Array(String) list_invalid_properties_for, valid? : Bool valid?, validate : Nil validate

Constructor Detail

def self.from_json(value : JSON::PullParser) : DocType #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(data : String, strict : Bool = true) #

[View source]

Class Method Detail

def self.from_json_object_key?(key : String) #

[View source]
def self.to_json(value : DocType, json : JSON::Builder) : Nil #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

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


def data : String #

[View source]
def data=(data : String) #

[View source]
def error_message : String #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def list_invalid_properties : Array(String) #

[View source]
def to_json(json : JSON::Builder) : Nil #

[View source]
def to_json_object_key(*args, **options) #

[View source]
def to_json_object_key(*args, **options, &) #

[View source]
def valid? : Bool #

[View source]
def validate : Nil #

[View source]