Class: Plaid::TransactionCode
- Inherits:
-
Object
- Object
- Plaid::TransactionCode
- Defined in:
- lib/plaid/models/transaction_code.rb
Constant Summary collapse
- ADJUSTMENT =
"adjustment".freeze
- ATM =
"atm".freeze
- BANK_CHARGE =
"bank charge".freeze
- BILL_PAYMENT =
"bill payment".freeze
- CASH =
"cash".freeze
- CASHBACK =
"cashback".freeze
- CHEQUE =
"cheque".freeze
- DIRECT_DEBIT =
"direct debit".freeze
- INTEREST =
"interest".freeze
- PURCHASE =
"purchase".freeze
- STANDING_ORDER =
"standing order".freeze
- TRANSFER =
"transfer".freeze
- NULL =
"null".freeze
Class Method Summary collapse
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.build_from_hash(value) ⇒ String
Builds the enum from string
35 36 37 |
# File 'lib/plaid/models/transaction_code.rb', line 35 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
42 43 44 45 46 47 |
# File 'lib/plaid/models/transaction_code.rb', line 42 def build_from_hash(value) # We do not validate that the value is one of the enums set in the OpenAPI # file because we want to be able to add to our list of enums without # breaking this client library. value end |