Module: Pago::V2026_04::Enums::DiscountSortProperty
- Defined in:
- lib/pago/v2026_04/enums.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- CREATED_AT =
"created_at"- V_CREATED_AT =
"-created_at"- NAME =
"name"- V_NAME =
"-name"- CODE =
"code"- V_CODE =
"-code"- REDEMPTIONS_COUNT =
"redemptions_count"- V_REDEMPTIONS_COUNT =
"-redemptions_count"- ENDS_AT =
"ends_at"- V_ENDS_AT =
"-ends_at"- ALL_VALUES =
[ CREATED_AT, V_CREATED_AT, NAME, V_NAME, CODE, V_CODE, REDEMPTIONS_COUNT, V_REDEMPTIONS_COUNT, ENDS_AT, V_ENDS_AT ].freeze
Class Method Summary collapse
-
.valid?(value) ⇒ Boolean
Whether the value is declared by this API version.
-
.values ⇒ Array<String>
Every value declared by the API.
Class Method Details
.valid?(value) ⇒ Boolean
Returns whether the value is declared by this API version.
1623 |
# File 'lib/pago/v2026_04/enums.rb', line 1623 def self.valid?(value) = ALL_VALUES.include?(value) |
.values ⇒ Array<String>
Returns every value declared by the API.
1619 |
# File 'lib/pago/v2026_04/enums.rb', line 1619 def self.values = ALL_VALUES |