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 =

Returns:

  • (String)
"customer_service"
LOW_QUALITY =

Returns:

  • (String)
"low_quality"
MISSING_FEATURES =

Returns:

  • (String)
"missing_features"
SWITCHED_SERVICE =

Returns:

  • (String)
"switched_service"
TOO_COMPLEX =

Returns:

  • (String)
"too_complex"
TOO_EXPENSIVE =

Returns:

  • (String)
"too_expensive"
UNUSED =

Returns:

  • (String)
"unused"
OTHER =

Returns:

  • (String)
"other"
ALL_VALUES =

Returns:

  • (Array[String])
[
  CUSTOMER_SERVICE,
  LOW_QUALITY,
  MISSING_FEATURES,
  SWITCHED_SERVICE,
  TOO_COMPLEX,
  TOO_EXPENSIVE,
  UNUSED,
  OTHER
].freeze

Class Method Summary collapse

Class Method Details

.valid?(value) ⇒ Boolean

Returns whether the value is declared by this API version.

Parameters:

  • value (Object)

Returns:

  • (Boolean)

    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)

.valuesArray<String>

Returns every value declared by the API.

Returns:

  • (Array<String>)

    every value declared by the API.



1348
# File 'lib/pago/v2026_04/enums.rb', line 1348

def self.values = ALL_VALUES