Module: Pago::V2026_04::Enums::CustomerCancellationReason
- Defined in:
- lib/pago/v2026_04/enums.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- CUSTOMER_SERVICE =
"customer_service"- LOW_QUALITY =
"low_quality"- MISSING_FEATURES =
"missing_features"- SWITCHED_SERVICE =
"switched_service"- TOO_COMPLEX =
"too_complex"- TOO_EXPENSIVE =
"too_expensive"- UNUSED =
"unused"- OTHER =
"other"- ALL_VALUES =
[ CUSTOMER_SERVICE, LOW_QUALITY, MISSING_FEATURES, SWITCHED_SERVICE, TOO_COMPLEX, TOO_EXPENSIVE, UNUSED, OTHER ].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.
1352 |
# File 'lib/pago/v2026_04/enums.rb', line 1352 def self.valid?(value) = ALL_VALUES.include?(value) |
.values ⇒ Array<String>
Returns every value declared by the API.
1348 |
# File 'lib/pago/v2026_04/enums.rb', line 1348 def self.values = ALL_VALUES |