Class: Plaid::Models::Transaction
- Defined in:
- lib/plaid/models.rb
Overview
Public: A representation of Transaction.
Instance Method Summary collapse
-
#account_id ⇒ Object
:attr_reader: Public: The String account ID.
-
#account_owner ⇒ Object
:attr_reader: Public: The String account owner (or nil).
-
#amount ⇒ Object
:attr_reader: Public: The Numeric amount (or nil).
-
#category ⇒ Object
:attr_reader: Public: The Array of String category (or nil).
-
#category_id ⇒ Object
:attr_reader: Public: The String category_id (or nil).
-
#date ⇒ Object
:attr_reader: Public: The String transaction date.
-
#iso_currency_code ⇒ Object
:attr_reader: Public: The String ISO currency code for the amount.
-
#location ⇒ Object
:attr_reader: Public: The location where transaction occurred (TransactionLocation).
-
#name ⇒ Object
:attr_reader: Public: The String transaction name (or nil).
-
#original_description ⇒ Object
:attr_reader: Public: The String original description (or nil).
-
#payment_meta ⇒ Object
:attr_reader: Public: The payment meta information (TransactionPaymentMeta).
-
#pending ⇒ Object
:attr_reader: Public: The Boolean pending flag (or nil).
-
#pending_transaction_id ⇒ Object
:attr_reader: Public: The String pending transaction ID (or nil).
-
#transaction_id ⇒ Object
:attr_reader: Public: The String transaction ID.
-
#transaction_type ⇒ Object
:attr_reader: Public: The String transaction type (or nil).
-
#unofficial_currency_code ⇒ Object
:attr_reader: Public: The String unofficial currency code for the amount.
Methods inherited from BaseModel
Instance Method Details
#account_id ⇒ Object
:attr_reader: Public: The String account ID.
663 |
# File 'lib/plaid/models.rb', line 663 property :account_id |
#account_owner ⇒ Object
:attr_reader: Public: The String account owner (or nil).
668 |
# File 'lib/plaid/models.rb', line 668 property :account_owner |
#amount ⇒ Object
:attr_reader: Public: The Numeric amount (or nil).
673 |
# File 'lib/plaid/models.rb', line 673 property :amount |
#category ⇒ Object
:attr_reader: Public: The Array of String category (or nil). E.g. [“Payment”, “Credit Card”].
679 |
# File 'lib/plaid/models.rb', line 679 property :category |
#category_id ⇒ Object
:attr_reader: Public: The String category_id (or nil). E.g. “16001000”.
685 |
# File 'lib/plaid/models.rb', line 685 property :category_id |
#date ⇒ Object
:attr_reader: Public: The String transaction date. E.g. “2017-01-01”.
690 |
# File 'lib/plaid/models.rb', line 690 property :date |
#iso_currency_code ⇒ Object
:attr_reader: Public: The String ISO currency code for the amount
732 |
# File 'lib/plaid/models.rb', line 732 property :iso_currency_code |
#location ⇒ Object
:attr_reader: Public: The location where transaction occurred (TransactionLocation).
695 |
# File 'lib/plaid/models.rb', line 695 property :location, coerce: TransactionLocation |
#name ⇒ Object
:attr_reader: Public: The String transaction name (or nil). E.g. “CREDIT CARD 3333 PAYMENT *//”.
701 |
# File 'lib/plaid/models.rb', line 701 property :name |
#original_description ⇒ Object
:attr_reader: Public: The String original description (or nil).
706 |
# File 'lib/plaid/models.rb', line 706 property :original_description |
#payment_meta ⇒ Object
:attr_reader: Public: The payment meta information (TransactionPaymentMeta).
711 |
# File 'lib/plaid/models.rb', line 711 property :payment_meta, coerce: TransactionPaymentMeta |
#pending ⇒ Object
:attr_reader: Public: The Boolean pending flag (or nil).
716 |
# File 'lib/plaid/models.rb', line 716 property :pending |
#pending_transaction_id ⇒ Object
:attr_reader: Public: The String pending transaction ID (or nil).
721 |
# File 'lib/plaid/models.rb', line 721 property :pending_transaction_id |
#transaction_id ⇒ Object
:attr_reader: Public: The String transaction ID.
658 |
# File 'lib/plaid/models.rb', line 658 property :transaction_id |
#transaction_type ⇒ Object
:attr_reader: Public: The String transaction type (or nil). E.g. “special”, or “place”.
727 |
# File 'lib/plaid/models.rb', line 727 property :transaction_type |
#unofficial_currency_code ⇒ Object
:attr_reader: Public: The String unofficial currency code for the amount
737 |
# File 'lib/plaid/models.rb', line 737 property :unofficial_currency_code |