Class: ShellDataReportingApIs::PricedTransactionReqV2SortOrderEnum
- Inherits:
-
Object
- Object
- ShellDataReportingApIs::PricedTransactionReqV2SortOrderEnum
- Defined in:
- lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_sort_order_enum.rb
Overview
Allowed Sorting Options 1. TransactionDateAscending 2. TransactionDateDescending 3. GrossAmountDescending 4. GrossAmountAscending 5. NetAmountAscending 6. NetAmountDescensding
Constant Summary collapse
- PRICED_TRANSACTION_REQ_V2_SORT_ORDER_ENUM =
[ # TODO: Write general description for ENUM_1 ENUM_1 = '1'.freeze, # TODO: Write general description for ENUM_2 ENUM_2 = '2'.freeze, # TODO: Write general description for ENUM_3 ENUM_3 = '3'.freeze, # TODO: Write general description for ENUM_4 ENUM_4 = '4'.freeze, # TODO: Write general description for ENUM_5 ENUM_5 = '5'.freeze, # TODO: Write general description for ENUM_6 ENUM_6 = '6'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
31 32 33 34 35 |
# File 'lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_sort_order_enum.rb', line 31 def self.validate(value) return false if value.nil? PRICED_TRANSACTION_REQ_V2_SORT_ORDER_ENUM.include?(value) end |