class

Plaid::Item

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

Metadata about the Item.

Constants

ERROR_MESSAGE_FOR_UPDATE_TYPE = "invalid value for \"update_type\", must be one of [background, user_present_required]."
VALID_VALUES_FOR_UPDATE_TYPE = String.static_array("background", "user_present_required")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
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

available_products

A list of products available for the Item that have not yet been accessed. The contents of this array will be mutually exclusive with billed_products.

Source
available_products=(new_value : Array(Products) | Nil)

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

Source
billed_products

A list of products that have been billed for the Item. The contents of this array will be mutually exclusive with available_products. Note - billed_products is populated in all environments but only requests in Production are billed. Also note that products that are billed on a pay-per-call basis rather than a pay-per-Item basis, such as balance, will not appear here.

Source
billed_products=(new_value : Array(Products) | Nil)

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

Source
consented_products

A list of products that have gone through consent collection for the Item. Only present for those enabled in the Data Transparency beta. If you are not enrolled in Data Transparency, this field is not used.

Source
consented_products=(new_value : Array(Products) | Nil)

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

Source
error
Source
error=(new_value : PlaidError | Nil)

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

institution_id

The Plaid Institution ID associated with the Item. Field is null for Items created via Same Day Micro-deposits.

Source
institution_id=(new_value : String | Nil)

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

Source
institution_id_present=(institution_id_present : Bool)
Source
institution_id_present?
Source
item_id

The Plaid Item ID. The item_id is always unique; linking the same account at the same institution twice will result in two Items with different item_id values. Like all Plaid identifiers, the item_id is case-sensitive.

Source
item_id=(new_value : String | Nil)

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

Source
list_invalid_properties

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

Source
products

A list of products added to the Item. In almost all cases, this will be the same as the billed_products field. For some products, it is possible for the product to be added to an Item but not yet billed (e.g. Assets, before /asset_report/create has been called, or Auth or Identity when added as Optional Products but before their endpoints have been called), in which case the product may appear in products but not in billed_products.

Source
products=(new_value : Array(Products) | Nil)

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

Source
update_type

Indicates whether an Item requires user interaction to be updated, which can be the case for Items with some forms of two-factor authentication. background - Item can be updated in the background user_present_required - Item requires user interaction to be updated

Source
update_type=(new_value : String | Nil)

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

The URL registered to receive webhooks for the Item.

Source
webhook=(new_value : String | Nil)

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

Source