class Plaid::LinkTokenCreateRequest

Overview

LinkTokenCreateRequest defines the request schema for /link/token/create

Included Modules

Defined in:

plaid/models/link_token_create_request.cr

Constant Summary

MIN_ITEMS_FOR_COUNTRY_CODES = 1
MIN_LENGTH_FOR_ACCESS_TOKEN = 1
MIN_LENGTH_FOR_CLIENT_NAME = 1
MIN_LENGTH_FOR_LANGUAGE = 1

Constructors

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.new(pull : JSON::PullParser) #

[View source]
def self.new(*, client_name : String | Nil = nil, language : String | Nil = nil, country_codes : Array(CountryCode) | Nil = nil, user : Plaid::LinkTokenCreateRequestUser | Nil = nil, client_id : String | Nil = nil, secret : String | Nil = nil, products : Array(Products) | Nil = nil, required_if_supported_products : Array(Products) | Nil = nil, optional_products : Array(Products) | Nil = nil, additional_consented_products : Array(Products) | Nil = nil, webhook : String | Nil = nil, access_token : String | Nil = nil, access_tokens : Array(String) | Nil = nil, link_customization_name : String | Nil = nil, redirect_uri : String | Nil = nil, android_package_name : String | Nil = nil, institution_data : Plaid::LinkTokenCreateInstitutionData | Nil = nil, card_switch : Plaid::LinkTokenCreateCardSwitch | Nil = nil, account_filters : LinkTokenAccountFilters | Nil = nil, eu_config : Plaid::LinkTokenEUConfig | Nil = nil, institution_id : String | Nil = nil, payment_initiation : Plaid::LinkTokenCreateRequestPaymentInitiation | Nil = nil, deposit_switch : Plaid::LinkTokenCreateRequestDepositSwitch | Nil = nil, employment : Plaid::LinkTokenCreateRequestEmployment | Nil = nil, income_verification : Plaid::LinkTokenCreateRequestIncomeVerification | Nil = nil, base_report : Plaid::LinkTokenCreateRequestBaseReport | Nil = nil, consumer_report_permissible_purpose : Plaid::ConsumerReportPermissiblePurpose | Nil = nil, auth : Plaid::LinkTokenCreateRequestAuth | Nil = nil, transfer : Plaid::LinkTokenCreateRequestTransfer | Nil = nil, update : Plaid::LinkTokenCreateRequestUpdate | Nil = nil, identity_verification : Plaid::LinkTokenCreateRequestIdentityVerification | Nil = nil, statements : Plaid::LinkTokenCreateRequestStatements | Nil = nil, user_token : String | Nil = nil, investments : Plaid::LinkTokenInvestments | Nil = nil, investments_auth : Plaid::LinkTokenInvestmentsAuth | Nil = nil, hosted_link : LinkTokenCreateHostedLink | Nil = nil, transactions : Plaid::LinkTokenTransactions | Nil = nil, cra_enabled : Bool | Nil = nil) #

Initializes the object @param [Hash] attributes Model attributes in the form of hash


[View source]

Instance Method Detail

def ==(other : self) #

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code


def access_token : String | Nil #

[View source]
def access_token=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] access_token Object to be assigned


[View source]
def access_token_present=(access_token_present : Bool) #

[View source]
def access_token_present? : Bool #

[View source]
def access_tokens : Array(String) | Nil #

[View source]
def access_tokens=(new_value : Array(String) | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] access_tokens Object to be assigned


[View source]
def account_filters : LinkTokenAccountFilters | Nil #

[View source]
def account_filters=(new_value : LinkTokenAccountFilters | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] account_filters Object to be assigned


[View source]
def additional_consented_products : Array(Products) | Nil #

[View source]
def additional_consented_products=(new_value : Array(Products) | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] additional_consented_products Object to be assigned


[View source]
def additional_consented_products_present=(additional_consented_products_present : Bool) #

[View source]
def additional_consented_products_present? : Bool #

[View source]
def android_package_name : String | Nil #

[View source]
def android_package_name=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] android_package_name Object to be assigned


[View source]

[View source]
def auth=(new_value : Plaid::LinkTokenCreateRequestAuth | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] auth Object to be assigned


[View source]
def base_report : Plaid::LinkTokenCreateRequestBaseReport | Nil #

[View source]
def base_report=(new_value : Plaid::LinkTokenCreateRequestBaseReport | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] base_report Object to be assigned


[View source]
def card_switch : Plaid::LinkTokenCreateCardSwitch | Nil #

[View source]
def card_switch=(new_value : Plaid::LinkTokenCreateCardSwitch | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] card_switch Object to be assigned


[View source]
def client_id : String | Nil #

[View source]
def client_id=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] client_id Object to be assigned


[View source]
def client_name : String | Nil #

[View source]
def client_name=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] client_name Object to be assigned


[View source]
def consumer_report_permissible_purpose : Plaid::ConsumerReportPermissiblePurpose | Nil #

[View source]
def consumer_report_permissible_purpose=(new_value : Plaid::ConsumerReportPermissiblePurpose | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] consumer_report_permissible_purpose Object to be assigned


[View source]
def country_codes : Array(CountryCode) | Nil #

[View source]
def country_codes=(new_value : Array(CountryCode) | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] country_codes Object to be assigned


[View source]
def cra_enabled : Bool | Nil #

[View source]
def cra_enabled=(new_value : Bool | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] cra_enabled Object to be assigned


[View source]
def deposit_switch : Plaid::LinkTokenCreateRequestDepositSwitch | Nil #

[View source]
def deposit_switch=(new_value : Plaid::LinkTokenCreateRequestDepositSwitch | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] deposit_switch Object to be assigned


[View source]

[View source]
def employment=(new_value : Plaid::LinkTokenCreateRequestEmployment | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] employment Object to be assigned


[View source]
def eu_config : Plaid::LinkTokenEUConfig | Nil #

[View source]
def eu_config=(new_value : Plaid::LinkTokenEUConfig | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] eu_config Object to be assigned


[View source]
def hash(hasher) #

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code


def hosted_link : LinkTokenCreateHostedLink | Nil #

[View source]
def hosted_link=(new_value : LinkTokenCreateHostedLink | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] hosted_link Object to be assigned


[View source]
def identity_verification : Plaid::LinkTokenCreateRequestIdentityVerification | Nil #

[View source]
def identity_verification=(new_value : Plaid::LinkTokenCreateRequestIdentityVerification | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] identity_verification Object to be assigned


[View source]
def income_verification : Plaid::LinkTokenCreateRequestIncomeVerification | Nil #

[View source]
def income_verification=(new_value : Plaid::LinkTokenCreateRequestIncomeVerification | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] income_verification Object to be assigned


[View source]
def institution_data : Plaid::LinkTokenCreateInstitutionData | Nil #

[View source]
def institution_data=(new_value : Plaid::LinkTokenCreateInstitutionData | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] institution_data Object to be assigned


[View source]
def institution_id : String | Nil #

[View source]
def institution_id=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] institution_id Object to be assigned


[View source]
def investments : Plaid::LinkTokenInvestments | Nil #

[View source]
def investments=(new_value : Plaid::LinkTokenInvestments | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] investments Object to be assigned


[View source]
def investments_auth : Plaid::LinkTokenInvestmentsAuth | Nil #

[View source]
def investments_auth=(new_value : Plaid::LinkTokenInvestmentsAuth | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] investments_auth Object to be assigned


[View source]
def language : String | Nil #

[View source]
def language=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] language Object to be assigned


[View source]
def link_customization_name : String | Nil #

[View source]
def link_customization_name=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] link_customization_name Object to be assigned


[View source]
def list_invalid_properties : Array(String) #

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons


[View source]
def optional_products : Array(Products) | Nil #

[View source]
def optional_products=(new_value : Array(Products) | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] optional_products Object to be assigned


[View source]
def optional_products_present=(optional_products_present : Bool) #

[View source]
def optional_products_present? : Bool #

[View source]
def payment_initiation : Plaid::LinkTokenCreateRequestPaymentInitiation | Nil #

[View source]
def payment_initiation=(new_value : Plaid::LinkTokenCreateRequestPaymentInitiation | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] payment_initiation Object to be assigned


[View source]
def products : Array(Products) | Nil #

[View source]
def products=(new_value : Array(Products) | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] products Object to be assigned


[View source]
def products_present=(products_present : Bool) #

[View source]
def products_present? : Bool #

[View source]
def redirect_uri : String | Nil #

[View source]
def redirect_uri=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] redirect_uri Object to be assigned


[View source]
def required_if_supported_products : Array(Products) | Nil #

[View source]
def required_if_supported_products=(new_value : Array(Products) | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] required_if_supported_products Object to be assigned


[View source]
def required_if_supported_products_present=(required_if_supported_products_present : Bool) #

[View source]
def required_if_supported_products_present? : Bool #

[View source]
def secret : String | Nil #

[View source]
def secret=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] secret Object to be assigned


[View source]

[View source]
def statements=(new_value : Plaid::LinkTokenCreateRequestStatements | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] statements Object to be assigned


[View source]
def transactions : Plaid::LinkTokenTransactions | Nil #

[View source]
def transactions=(new_value : Plaid::LinkTokenTransactions | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] transactions Object to be assigned


[View source]

[View source]
def transfer=(new_value : Plaid::LinkTokenCreateRequestTransfer | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] transfer Object to be assigned


[View source]

[View source]
def update=(new_value : Plaid::LinkTokenCreateRequestUpdate | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] update Object to be assigned


[View source]

[View source]
def user=(new_value : Plaid::LinkTokenCreateRequestUser | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] user Object to be assigned


[View source]
def user_token : String | Nil #

[View source]
def user_token=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] user_token Object to be assigned


[View source]
def valid? : Bool #

Check to see if the all the properties in the model are valid @return true if the model is valid


[View source]
def webhook : String | Nil #

[View source]
def webhook=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] webhook Object to be assigned


[View source]