class Plaid::Credit1099
- Plaid::Credit1099
- Reference
- Object
Overview
An object representing an end user's 1099 tax form
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
plaid/models/credit1099.crConstructors
- .new(pull : JSON::PullParser)
-
.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
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #april_amount : Float64 | Nil
-
#april_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #april_amount_present=(april_amount_present : Bool)
- #april_amount_present? : Bool
- #august_amount : Float64 | Nil
-
#august_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #august_amount_present=(august_amount_present : Bool)
- #august_amount_present? : Bool
- #card_not_present_transaction : Float64 | Nil
-
#card_not_present_transaction=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #card_not_present_transaction_present=(card_not_present_transaction_present : Bool)
- #card_not_present_transaction_present? : Bool
- #crop_insurance_proceeds : Float64 | Nil
-
#crop_insurance_proceeds=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #crop_insurance_proceeds_present=(crop_insurance_proceeds_present : Bool)
- #crop_insurance_proceeds_present? : Bool
- #december_amount : Float64 | Nil
-
#december_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #december_amount_present=(december_amount_present : Bool)
- #december_amount_present? : Bool
- #document_id : String | Nil
-
#document_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #document_metadata : CreditDocumentMetadata | Nil
-
#document_metadata=(new_value : CreditDocumentMetadata | Nil)
Custom attribute writer method checking allowed values (enum).
- #excess_golden_parachute_payments : Float64 | Nil
-
#excess_golden_parachute_payments=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #excess_golden_parachute_payments_present=(excess_golden_parachute_payments_present : Bool)
- #excess_golden_parachute_payments_present? : Bool
- #february_amount : Float64 | Nil
-
#february_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #february_amount_present=(february_amount_present : Bool)
- #february_amount_present? : Bool
- #federal_income_tax_withheld : Float64 | Nil
-
#federal_income_tax_withheld=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #federal_income_tax_withheld_present=(federal_income_tax_withheld_present : Bool)
- #federal_income_tax_withheld_present? : Bool
- #filer : Credit1099Filer | Nil
-
#filer=(new_value : Credit1099Filer | Nil)
Custom attribute writer method checking allowed values (enum).
- #fishing_boat_proceeds : Float64 | Nil
-
#fishing_boat_proceeds=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #fishing_boat_proceeds_present=(fishing_boat_proceeds_present : Bool)
- #fishing_boat_proceeds_present? : Bool
- #form_1099_type : Plaid::Form1099Type | Nil
-
#form_1099_type=(new_value : Plaid::Form1099Type | Nil)
Custom attribute writer method checking allowed values (enum).
- #gross_amount : Float64 | Nil
-
#gross_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #gross_amount_present=(gross_amount_present : Bool)
- #gross_amount_present? : Bool
- #gross_proceeds_paid_to_an_attorney : Float64 | Nil
-
#gross_proceeds_paid_to_an_attorney=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #gross_proceeds_paid_to_an_attorney_present=(gross_proceeds_paid_to_an_attorney_present : Bool)
- #gross_proceeds_paid_to_an_attorney_present? : Bool
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #january_amount : Float64 | Nil
-
#january_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #january_amount_present=(january_amount_present : Bool)
- #january_amount_present? : Bool
- #july_amount : Float64 | Nil
-
#july_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #july_amount_present=(july_amount_present : Bool)
- #july_amount_present? : Bool
- #june_amount : Float64 | Nil
-
#june_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #june_amount_present=(june_amount_present : Bool)
- #june_amount_present? : Bool
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #march_amount : Float64 | Nil
-
#march_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #march_amount_present=(march_amount_present : Bool)
- #march_amount_present? : Bool
- #may_amount : Float64 | Nil
-
#may_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #may_amount_present=(may_amount_present : Bool)
- #may_amount_present? : Bool
- #medical_and_healthcare_payments : Float64 | Nil
-
#medical_and_healthcare_payments=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #medical_and_healthcare_payments_present=(medical_and_healthcare_payments_present : Bool)
- #medical_and_healthcare_payments_present? : Bool
- #merchant_category_code : String | Nil
-
#merchant_category_code=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #merchant_category_code_present=(merchant_category_code_present : Bool)
- #merchant_category_code_present? : Bool
- #nonemployee_compensation : Float64 | Nil
-
#nonemployee_compensation=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #nonemployee_compensation_present=(nonemployee_compensation_present : Bool)
- #nonemployee_compensation_present? : Bool
- #november_amount : Float64 | Nil
-
#november_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #november_amount_present=(november_amount_present : Bool)
- #november_amount_present? : Bool
- #number_of_payment_transactions : String | Nil
-
#number_of_payment_transactions=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #number_of_payment_transactions_present=(number_of_payment_transactions_present : Bool)
- #number_of_payment_transactions_present? : Bool
- #october_amount : Float64 | Nil
-
#october_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #october_amount_present=(october_amount_present : Bool)
- #october_amount_present? : Bool
- #other_income : Float64 | Nil
-
#other_income=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #other_income_present=(other_income_present : Bool)
- #other_income_present? : Bool
- #payer : Credit1099Payer | Nil
-
#payer=(new_value : Credit1099Payer | Nil)
Custom attribute writer method checking allowed values (enum).
- #payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer : String | Nil
-
#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).
- #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)
- #payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer_present? : Bool
- #payer_state_number : String | Nil
-
#payer_state_number=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #payer_state_number_lower : String | Nil
-
#payer_state_number_lower=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #payer_state_number_lower_present=(payer_state_number_lower_present : Bool)
- #payer_state_number_lower_present? : Bool
- #payer_state_number_present=(payer_state_number_present : Bool)
- #payer_state_number_present? : Bool
- #primary_state : String | Nil
-
#primary_state=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #primary_state_id : String | Nil
-
#primary_state_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #primary_state_id_present=(primary_state_id_present : Bool)
- #primary_state_id_present? : Bool
- #primary_state_income_tax : Float64 | Nil
-
#primary_state_income_tax=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #primary_state_income_tax_present=(primary_state_income_tax_present : Bool)
- #primary_state_income_tax_present? : Bool
- #primary_state_present=(primary_state_present : Bool)
- #primary_state_present? : Bool
- #pse_name : String | Nil
-
#pse_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pse_name_present=(pse_name_present : Bool)
- #pse_name_present? : Bool
- #pse_telephone_number : String | Nil
-
#pse_telephone_number=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #pse_telephone_number_present=(pse_telephone_number_present : Bool)
- #pse_telephone_number_present? : Bool
- #recipient : Credit1099Recipient | Nil
-
#recipient=(new_value : Credit1099Recipient | Nil)
Custom attribute writer method checking allowed values (enum).
- #rents : Float64 | Nil
-
#rents=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #rents_present=(rents_present : Bool)
- #rents_present? : Bool
- #royalties : Float64 | Nil
-
#royalties=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #royalties_present=(royalties_present : Bool)
- #royalties_present? : Bool
- #secondary_state : String | Nil
-
#secondary_state=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #secondary_state_id : String | Nil
-
#secondary_state_id=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #secondary_state_id_present=(secondary_state_id_present : Bool)
- #secondary_state_id_present? : Bool
- #secondary_state_income_tax : Float64 | Nil
-
#secondary_state_income_tax=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #secondary_state_income_tax_present=(secondary_state_income_tax_present : Bool)
- #secondary_state_income_tax_present? : Bool
- #secondary_state_present=(secondary_state_present : Bool)
- #secondary_state_present? : Bool
- #section_409a_deferrals : Float64 | Nil
-
#section_409a_deferrals=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #section_409a_deferrals_present=(section_409a_deferrals_present : Bool)
- #section_409a_deferrals_present? : Bool
- #section_409a_income : Float64 | Nil
-
#section_409a_income=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #section_409a_income_present=(section_409a_income_present : Bool)
- #section_409a_income_present? : Bool
- #september_amount : Float64 | Nil
-
#september_amount=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #september_amount_present=(september_amount_present : Bool)
- #september_amount_present? : Bool
- #state_income : Float64 | Nil
-
#state_income=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #state_income_lower : Float64 | Nil
-
#state_income_lower=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #state_income_lower_present=(state_income_lower_present : Bool)
- #state_income_lower_present? : Bool
- #state_income_present=(state_income_present : Bool)
- #state_income_present? : Bool
- #state_tax_withheld : Float64 | Nil
-
#state_tax_withheld=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #state_tax_withheld_lower : Float64 | Nil
-
#state_tax_withheld_lower=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #state_tax_withheld_lower_present=(state_tax_withheld_lower_present : Bool)
- #state_tax_withheld_lower_present? : Bool
- #state_tax_withheld_present=(state_tax_withheld_present : Bool)
- #state_tax_withheld_present? : Bool
- #substitute_payments_in_lieu_of_dividends_or_interest : Float64 | Nil
-
#substitute_payments_in_lieu_of_dividends_or_interest=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #substitute_payments_in_lieu_of_dividends_or_interest_present=(substitute_payments_in_lieu_of_dividends_or_interest_present : Bool)
- #substitute_payments_in_lieu_of_dividends_or_interest_present? : Bool
- #tax_year : String | Nil
-
#tax_year=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #tax_year_present=(tax_year_present : Bool)
- #tax_year_present? : Bool
- #transactions_reported : String | Nil
-
#transactions_reported=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #transactions_reported_present=(transactions_reported_present : Bool)
- #transactions_reported_present? : Bool
-
#valid? : Bool
Check to see if the all the properties in the model are valid @return true if the model is valid
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
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] april_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] august_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] card_not_present_transaction Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] crop_insurance_proceeds Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] december_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] document_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] document_metadata Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] excess_golden_parachute_payments Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] february_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] federal_income_tax_withheld Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] filer Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] fishing_boat_proceeds Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] form_1099_type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] gross_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] gross_proceeds_paid_to_an_attorney Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] january_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] july_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] june_amount Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] march_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] may_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] medical_and_healthcare_payments Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] merchant_category_code Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] nonemployee_compensation Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] november_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] number_of_payment_transactions Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] october_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] other_income Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] payer Object to be assigned
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
Custom attribute writer method checking allowed values (enum). @param [Object] payer_state_number Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] payer_state_number_lower Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] primary_state Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] primary_state_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] primary_state_income_tax Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pse_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] pse_telephone_number Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] recipient Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] rents Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] royalties Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] secondary_state Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] secondary_state_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] secondary_state_income_tax Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] section_409a_deferrals Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] section_409a_income Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] september_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] state_income Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] state_income_lower Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] state_tax_withheld Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] state_tax_withheld_lower Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] substitute_payments_in_lieu_of_dividends_or_interest Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_year Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] transactions_reported Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid