Class: FdxV660Api::AccountCategory7
- Inherits:
-
Object
- Object
- FdxV660Api::AccountCategory7
- Defined in:
- lib/fdx_v660_api/models/account_category7.rb
Overview
The entity type of the account of this transaction, in this case DIGITAL_WALLET
Constant Summary collapse
- ACCOUNT_CATEGORY7 =
[ # TODO: Write general description for DIGITAL_WALLET DIGITAL_WALLET = 'DIGITAL_WALLET'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.from_value(value, default_value = DIGITAL_WALLET) ⇒ Object
21 22 23 24 25 |
# File 'lib/fdx_v660_api/models/account_category7.rb', line 21 def self.from_value(value, default_value = DIGITAL_WALLET) return default_value if value.nil? default_value end |
.validate(value) ⇒ Object
15 16 17 18 19 |
# File 'lib/fdx_v660_api/models/account_category7.rb', line 15 def self.validate(value) return false if value.nil? true end |