class

Plaid::BaseReportAccountInsights

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

Calculated insights derived from transaction-level data.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, oldest_transaction_date : Time | Nil = nil, most_recent_transaction_date : Time | Nil = nil, days_available : Int32 | Nil = nil, average_days_between_transactions : Float64 | Nil = nil, longest_gap_between_transactions : Array(BaseReportLongestGapInsights) | Nil = nil, number_of_inflows : Array(BaseReportNumberFlowInsights) | Nil = nil, average_inflow_amount : Array(BaseReportAverageFlowInsights) | Nil = nil, number_of_outflows : Array(BaseReportNumberFlowInsights) | Nil = nil, average_outflow_amount : Array(BaseReportAverageFlowInsights) | Nil = nil, number_of_days_no_transactions : Int32 | 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

average_days_between_transactions

Average number of days between sequential transactions

Source
average_days_between_transactions=(new_value : Float64 | Nil)

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

Source
average_inflow_amount

Average amount of debit transactions into account. This field will be null for non-depository accounts. This field only takes into account USD transactions from the account.

Source
average_inflow_amount=(new_value : Array(BaseReportAverageFlowInsights) | Nil)

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

Source
average_inflow_amount_present=(average_inflow_amount_present : Bool)
Source
average_inflow_amount_present?
Source
average_outflow_amount

Average amount of credit transactions into account. This field will be null for non-depository accounts. This field only takes into account USD transactions from the account.

Source
average_outflow_amount=(new_value : Array(BaseReportAverageFlowInsights) | Nil)

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

Source
average_outflow_amount_present=(average_outflow_amount_present : Bool)
Source
average_outflow_amount_present?
Source
days_available

Number of days days available in the base report for the account.

Source
days_available=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] days_available 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

list_invalid_properties

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

Source
longest_gap_between_transactions

Longest gap between sequential transactions

Source
longest_gap_between_transactions=(new_value : Array(BaseReportLongestGapInsights) | Nil)

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

Source
most_recent_transaction_date

Date of the most recent transaction in the base report for the account.

Source
most_recent_transaction_date=(new_value : Time | Nil)

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

Source
number_of_days_no_transactions

Number of days with no transactions

Source
number_of_days_no_transactions=(new_value : Int32 | Nil)

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

Source
number_of_inflows

The number of debits into the account. This field will be null for non-depository accounts.

Source
number_of_inflows=(new_value : Array(BaseReportNumberFlowInsights) | Nil)

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

Source
number_of_inflows_present=(number_of_inflows_present : Bool)
Source
number_of_inflows_present?
Source
number_of_outflows

The number of credit into the account. This field will be null for non-depository accounts.

Source
number_of_outflows=(new_value : Array(BaseReportNumberFlowInsights) | Nil)

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

Source
number_of_outflows_present=(number_of_outflows_present : Bool)
Source
number_of_outflows_present?
Source
oldest_transaction_date

Date of the earliest transaction in the base report for the account.

Source
oldest_transaction_date=(new_value : Time | Nil)

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

Source
valid?

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

Source