class Plaid::Credit1099

Overview

An object representing an end user's 1099 tax form

Included Modules

Defined in:

plaid/models/credit1099.cr

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(*, document_id : String | Nil = nil, document_metadata : CreditDocumentMetadata | Nil = nil, form_1099_type : Plaid::Form1099Type | Nil = nil, recipient : Credit1099Recipient | Nil = nil, payer : Credit1099Payer | Nil = nil, filer : Credit1099Filer | Nil = nil, tax_year : String | Nil = nil, rents : Float64 | Nil = nil, royalties : Float64 | Nil = nil, other_income : Float64 | Nil = nil, federal_income_tax_withheld : Float64 | Nil = nil, fishing_boat_proceeds : Float64 | Nil = nil, medical_and_healthcare_payments : Float64 | Nil = nil, nonemployee_compensation : Float64 | Nil = nil, substitute_payments_in_lieu_of_dividends_or_interest : Float64 | Nil = nil, payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer : String | Nil = nil, crop_insurance_proceeds : Float64 | Nil = nil, excess_golden_parachute_payments : Float64 | Nil = nil, gross_proceeds_paid_to_an_attorney : Float64 | Nil = nil, section_409a_deferrals : Float64 | Nil = nil, section_409a_income : Float64 | Nil = nil, state_tax_withheld : Float64 | Nil = nil, state_tax_withheld_lower : Float64 | Nil = nil, payer_state_number : String | Nil = nil, payer_state_number_lower : String | Nil = nil, state_income : Float64 | Nil = nil, state_income_lower : Float64 | Nil = nil, transactions_reported : String | Nil = nil, pse_name : String | Nil = nil, pse_telephone_number : String | Nil = nil, gross_amount : Float64 | Nil = nil, card_not_present_transaction : Float64 | Nil = nil, merchant_category_code : String | Nil = nil, number_of_payment_transactions : String | Nil = nil, january_amount : Float64 | Nil = nil, february_amount : Float64 | Nil = nil, march_amount : Float64 | Nil = nil, april_amount : Float64 | Nil = nil, may_amount : Float64 | Nil = nil, june_amount : Float64 | Nil = nil, july_amount : Float64 | Nil = nil, august_amount : Float64 | Nil = nil, september_amount : Float64 | Nil = nil, october_amount : Float64 | Nil = nil, november_amount : Float64 | Nil = nil, december_amount : Float64 | Nil = nil, primary_state : String | Nil = nil, secondary_state : String | Nil = nil, primary_state_id : String | Nil = nil, secondary_state_id : String | Nil = nil, primary_state_income_tax : Float64 | Nil = nil, secondary_state_income_tax : Float64 | 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 april_amount : Float64 | Nil #

[View source]
def april_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def april_amount_present? : Bool #

[View source]
def august_amount : Float64 | Nil #

[View source]
def august_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def august_amount_present? : Bool #

[View source]
def card_not_present_transaction : Float64 | Nil #

[View source]
def card_not_present_transaction=(new_value : Float64 | Nil) #

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


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

[View source]
def card_not_present_transaction_present? : Bool #

[View source]
def crop_insurance_proceeds : Float64 | Nil #

[View source]
def crop_insurance_proceeds=(new_value : Float64 | Nil) #

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


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

[View source]
def crop_insurance_proceeds_present? : Bool #

[View source]
def december_amount : Float64 | Nil #

[View source]
def december_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def december_amount_present? : Bool #

[View source]
def document_id : String | Nil #

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

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


[View source]
def document_metadata : CreditDocumentMetadata | Nil #

[View source]
def document_metadata=(new_value : CreditDocumentMetadata | Nil) #

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


[View source]
def excess_golden_parachute_payments : Float64 | Nil #

[View source]
def excess_golden_parachute_payments=(new_value : Float64 | Nil) #

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


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

[View source]
def excess_golden_parachute_payments_present? : Bool #

[View source]
def february_amount : Float64 | Nil #

[View source]
def february_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def february_amount_present? : Bool #

[View source]
def federal_income_tax_withheld : Float64 | Nil #

[View source]
def federal_income_tax_withheld=(new_value : Float64 | Nil) #

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


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

[View source]
def federal_income_tax_withheld_present? : Bool #

[View source]
def filer : Credit1099Filer | Nil #

[View source]
def filer=(new_value : Credit1099Filer | Nil) #

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


[View source]
def fishing_boat_proceeds : Float64 | Nil #

[View source]
def fishing_boat_proceeds=(new_value : Float64 | Nil) #

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


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

[View source]
def fishing_boat_proceeds_present? : Bool #

[View source]
def form_1099_type : Plaid::Form1099Type | Nil #

[View source]
def form_1099_type=(new_value : Plaid::Form1099Type | Nil) #

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


[View source]
def gross_amount : Float64 | Nil #

[View source]
def gross_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def gross_amount_present? : Bool #

[View source]
def gross_proceeds_paid_to_an_attorney : Float64 | Nil #

[View source]
def gross_proceeds_paid_to_an_attorney=(new_value : Float64 | Nil) #

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


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

[View source]
def gross_proceeds_paid_to_an_attorney_present? : Bool #

[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 january_amount : Float64 | Nil #

[View source]
def january_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def january_amount_present? : Bool #

[View source]
def july_amount : Float64 | Nil #

[View source]
def july_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def july_amount_present? : Bool #

[View source]
def june_amount : Float64 | Nil #

[View source]
def june_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def june_amount_present? : Bool #

[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 march_amount : Float64 | Nil #

[View source]
def march_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def march_amount_present? : Bool #

[View source]
def may_amount : Float64 | Nil #

[View source]
def may_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def may_amount_present? : Bool #

[View source]
def medical_and_healthcare_payments : Float64 | Nil #

[View source]
def medical_and_healthcare_payments=(new_value : Float64 | Nil) #

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


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

[View source]
def medical_and_healthcare_payments_present? : Bool #

[View source]
def merchant_category_code : String | Nil #

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

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


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

[View source]
def merchant_category_code_present? : Bool #

[View source]
def nonemployee_compensation : Float64 | Nil #

[View source]
def nonemployee_compensation=(new_value : Float64 | Nil) #

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


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

[View source]
def nonemployee_compensation_present? : Bool #

[View source]
def november_amount : Float64 | Nil #

[View source]
def november_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def november_amount_present? : Bool #

[View source]
def number_of_payment_transactions : String | Nil #

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

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


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

[View source]
def number_of_payment_transactions_present? : Bool #

[View source]
def october_amount : Float64 | Nil #

[View source]
def october_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def october_amount_present? : Bool #

[View source]
def other_income : Float64 | Nil #

[View source]
def other_income=(new_value : Float64 | Nil) #

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


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

[View source]
def other_income_present? : Bool #

[View source]
def payer : Credit1099Payer | Nil #

[View source]
def payer=(new_value : Credit1099Payer | Nil) #

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


[View source]
def payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer : String | Nil #

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

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


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

[View source]
def payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer_present? : Bool #

[View source]
def payer_state_number : String | Nil #

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

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


[View source]
def payer_state_number_lower : String | Nil #

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

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


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

[View source]
def payer_state_number_lower_present? : Bool #

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

[View source]
def payer_state_number_present? : Bool #

[View source]
def primary_state : String | Nil #

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

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


[View source]
def primary_state_id : String | Nil #

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

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


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

[View source]
def primary_state_id_present? : Bool #

[View source]
def primary_state_income_tax : Float64 | Nil #

[View source]
def primary_state_income_tax=(new_value : Float64 | Nil) #

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


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

[View source]
def primary_state_income_tax_present? : Bool #

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

[View source]
def primary_state_present? : Bool #

[View source]
def pse_name : String | Nil #

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

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


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

[View source]
def pse_name_present? : Bool #

[View source]
def pse_telephone_number : String | Nil #

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

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


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

[View source]
def pse_telephone_number_present? : Bool #

[View source]
def recipient : Credit1099Recipient | Nil #

[View source]
def recipient=(new_value : Credit1099Recipient | Nil) #

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


[View source]
def rents : Float64 | Nil #

[View source]
def rents=(new_value : Float64 | Nil) #

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


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

[View source]
def rents_present? : Bool #

[View source]
def royalties : Float64 | Nil #

[View source]
def royalties=(new_value : Float64 | Nil) #

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


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

[View source]
def royalties_present? : Bool #

[View source]
def secondary_state : String | Nil #

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

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


[View source]
def secondary_state_id : String | Nil #

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

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


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

[View source]
def secondary_state_id_present? : Bool #

[View source]
def secondary_state_income_tax : Float64 | Nil #

[View source]
def secondary_state_income_tax=(new_value : Float64 | Nil) #

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


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

[View source]
def secondary_state_income_tax_present? : Bool #

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

[View source]
def secondary_state_present? : Bool #

[View source]
def section_409a_deferrals : Float64 | Nil #

[View source]
def section_409a_deferrals=(new_value : Float64 | Nil) #

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


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

[View source]
def section_409a_deferrals_present? : Bool #

[View source]
def section_409a_income : Float64 | Nil #

[View source]
def section_409a_income=(new_value : Float64 | Nil) #

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


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

[View source]
def section_409a_income_present? : Bool #

[View source]
def september_amount : Float64 | Nil #

[View source]
def september_amount=(new_value : Float64 | Nil) #

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


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

[View source]
def september_amount_present? : Bool #

[View source]
def state_income : Float64 | Nil #

[View source]
def state_income=(new_value : Float64 | Nil) #

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


[View source]
def state_income_lower : Float64 | Nil #

[View source]
def state_income_lower=(new_value : Float64 | Nil) #

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


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

[View source]
def state_income_lower_present? : Bool #

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

[View source]
def state_income_present? : Bool #

[View source]
def state_tax_withheld : Float64 | Nil #

[View source]
def state_tax_withheld=(new_value : Float64 | Nil) #

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


[View source]
def state_tax_withheld_lower : Float64 | Nil #

[View source]
def state_tax_withheld_lower=(new_value : Float64 | Nil) #

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


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

[View source]
def state_tax_withheld_lower_present? : Bool #

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

[View source]
def state_tax_withheld_present? : Bool #

[View source]
def substitute_payments_in_lieu_of_dividends_or_interest : Float64 | Nil #

[View source]
def substitute_payments_in_lieu_of_dividends_or_interest=(new_value : Float64 | Nil) #

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


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

[View source]
def substitute_payments_in_lieu_of_dividends_or_interest_present? : Bool #

[View source]
def tax_year : String | Nil #

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

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


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

[View source]
def tax_year_present? : Bool #

[View source]
def transactions_reported : String | Nil #

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

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


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

[View source]
def transactions_reported_present? : Bool #

[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]