class

Plaid::CreditBankIncomeSummary

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Summary for bank income across all income sources and items (max history of 730 days).

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, total_amount : Float64 | Nil = nil, iso_currency_code : String | Nil = nil, unofficial_currency_code : String | Nil = nil, total_amounts : Array(CreditAmountWithCurrency) | Nil = nil, start_date : Time | Nil = nil, end_date : Time | Nil = nil, income_sources_count : Int32 | Nil = nil, income_categories_count : Int32 | Nil = nil, income_transactions_count : Int32 | Nil = nil, historical_summary : Array(CreditBankIncomeHistoricalSummary) | Nil = nil)

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

Source

Instance methods

==(other : self)

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

end_date

The latest date in which all income sources identified by Plaid appear in the user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).

Source
end_date=(new_value : Time | Nil)

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

Source
hash(hasher)

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

historical_summary
Source
historical_summary=(new_value : Array(CreditBankIncomeHistoricalSummary) | Nil)

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

Source
income_categories_count

Number of income categories per end user.

Source
income_categories_count=(new_value : Int32 | Nil)

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

Source
income_sources_count

Number of income sources per end user.

Source
income_sources_count=(new_value : Int32 | Nil)

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

Source
income_transactions_count

Number of income transactions per end user.

Source
income_transactions_count=(new_value : Int32 | Nil)

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

Source
iso_currency_code

The ISO 4217 currency code of the amount or balance. Please use total_amounts instead.

Source
iso_currency_code=(new_value : String | Nil)

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

Source
iso_currency_code_present=(iso_currency_code_present : Bool)
Source
iso_currency_code_present?
Source
list_invalid_properties

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

Source
start_date

The earliest date within the days requested in which all income sources identified by Plaid appear in a user's account. The date will be returned in an ISO 8601 format (YYYY-MM-DD).

Source
start_date=(new_value : Time | Nil)

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

Source
total_amount

Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This may return an incorrect value if the summary includes income sources in multiple currencies. Please use total_amounts instead.

Source
total_amount=(new_value : Float64 | Nil)

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

Source
total_amounts

Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency.

Source
total_amounts=(new_value : Array(CreditAmountWithCurrency) | Nil)

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

Source
unofficial_currency_code

The unofficial currency code associated with the amount or balance. Always null if iso_currency_code is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. Please use total_amounts instead.

Source
unofficial_currency_code=(new_value : String | Nil)

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

Source
unofficial_currency_code_present=(unofficial_currency_code_present : Bool)
Source
unofficial_currency_code_present?
Source
valid?

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

Source