class

Plaid::CategoryInsightDetails

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

Insights object for categories.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, name : String | Nil = nil, transaction_count : Int32 | Nil = nil, total_outflows : Float64 | Nil = nil, total_inflows : Float64 | Nil = nil, top_counterparties : Array(String) | 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

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
name

Category name.

Source
name=(new_value : String | Nil)

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

Source
top_counterparties

The most common counterparties associated with this category sorted by outflow.

Source
top_counterparties=(new_value : Array(String) | Nil)

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

Source
total_inflows

Sum of inflow amounts.

Source
total_inflows=(new_value : Float64 | Nil)

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

Source
total_outflows

Sum of outflow amounts.

Source
total_outflows=(new_value : Float64 | Nil)

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

Source
transaction_count

The number of transactions associated with this category.

Source
transaction_count=(new_value : Int32 | Nil)

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