class

Plaid::MerchantInsights

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

Insights into a user’s top merchants.

Constructors

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

entity_id

A unique, stable, Plaid-generated id that maps to the merchant.

Source
entity_id=(new_value : String | Nil)

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

Source
entity_id_present=(entity_id_present : Bool)
Source
entity_id_present?
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
name

The counterparty name.

Source
name=(new_value : String | Nil)

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

Source
personal_finance_category_detailed

The detailed personal finance category associated with this merchant.

Source
personal_finance_category_detailed=(new_value : String | Nil)

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

Source
personal_finance_category_primary

The primary personal finance category associated with this merchant.

Source
personal_finance_category_primary=(new_value : String | Nil)

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

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
website

The website associated with the merchant.

Source
website=(new_value : String | Nil)

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

Source