lib/plaid/models/transaction.rb in plaid-22.0.0 vs lib/plaid/models/transaction.rb in plaid-23.0.0
- old
+ new
@@ -1,11 +1,11 @@
=begin
#The Plaid API
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
-The version of the OpenAPI document: 2020-09-14_1.431.7
+The version of the OpenAPI document: 2020-09-14_1.457.0
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.1.0
=end
@@ -26,14 +26,14 @@
attr_accessor :iso_currency_code
# The unofficial currency code associated with the transaction. 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. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `iso_currency_code`s.
attr_accessor :unofficial_currency_code
- # A hierarchical array of the categories to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category_id`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
+ # A hierarchical array of the categories to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
attr_accessor :category
- # The ID of the category to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category_id`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
+ # The ID of the category to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/transactions/#categoriesget). All Transactions implementations are recommended to use the new `personal_finance_category` instead of `category`, as it provides greater accuracy and more meaningful categorization. If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights.
attr_accessor :category_id
# The check number of the transaction. This field is only populated for check transactions.
attr_accessor :check_number
@@ -66,14 +66,14 @@
attr_accessor :transaction_id
# Please use the `payment_channel` field, `transaction_type` will be deprecated in the future. `digital:` transactions that took place online. `place:` transactions that were made at a physical location. `special:` transactions that relate to banks, e.g. fees or deposits. `unresolved:` transactions that do not fit into the other three types.
attr_accessor :transaction_type
- # The URL of a logo associated with the merchant, if available. The logo will always be 100×100 pixel PNG file.
+ # The URL of a logo associated with this transaction, if available. The logo will always be 100×100 pixel PNG file.
attr_accessor :logo_url
- # The website associated with the merchant, if available.
+ # The website associated with this transaction, if available.
attr_accessor :website
# The date that the transaction was authorized. For posted transactions, the `date` field will indicate the posted date, but `authorized_date` will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the `authorized_date`, when available, is generally preferable to use over the `date` field for posted transactions, as it will generally represent the date the user actually made the transaction. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format ( `YYYY-MM-DD` ).
attr_accessor :authorized_date
@@ -91,10 +91,10 @@
attr_accessor :transaction_code
# The URL of an icon associated with the primary personal finance category. The icon will always be 100×100 pixel PNG file.
attr_accessor :personal_finance_category_icon_url
- # The counterparties present in the transaction. Counterparties, such as the financial institutions, are extracted by Plaid from the raw description.
+ # The counterparties present in the transaction. Counterparties, such as the merchant or the financial institution, are extracted by Plaid from the raw description.
attr_accessor :counterparties
# A unique, stable, Plaid-generated ID that maps to the merchant.
attr_accessor :merchant_entity_id