Module: Pago::V2026_04::Enums::CustomerBenefitGrantSortProperty
- Defined in:
- lib/pago/v2026_04/enums.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- GRANTED_AT =
"granted_at"- V_GRANTED_AT =
"-granted_at"- TYPE =
"type"- V_TYPE =
"-type"- ORGANIZATION =
"organization"- V_ORGANIZATION =
"-organization"- PRODUCT_BENEFIT =
"product_benefit"- V_PRODUCT_BENEFIT =
"-product_benefit"- ALL_VALUES =
[ GRANTED_AT, V_GRANTED_AT, TYPE, V_TYPE, ORGANIZATION, V_ORGANIZATION, PRODUCT_BENEFIT, V_PRODUCT_BENEFIT ].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.
1323 |
# File 'lib/pago/v2026_04/enums.rb', line 1323 def self.valid?(value) = ALL_VALUES.include?(value) |
.values ⇒ Array<String>
Returns every value declared by the API.
1319 |
# File 'lib/pago/v2026_04/enums.rb', line 1319 def self.values = ALL_VALUES |