Module: Pago::V2026_04::Enums::SubscriptionProrationBehavior
- Defined in:
- lib/pago/v2026_04/enums.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- INVOICE =
"invoice"- PRORATE =
"prorate"- NEXT_PERIOD =
"next_period"- RESET =
"reset"- ALL_VALUES =
[ INVOICE, PRORATE, NEXT_PERIOD, RESET ].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.
3018 |
# File 'lib/pago/v2026_04/enums.rb', line 3018 def self.valid?(value) = ALL_VALUES.include?(value) |
.values ⇒ Array<String>
Returns every value declared by the API.
3014 |
# File 'lib/pago/v2026_04/enums.rb', line 3014 def self.values = ALL_VALUES |