Class: Wallee::InstallmentPaymentState
- Inherits:
-
Object
- Object
- Wallee::InstallmentPaymentState
- Defined in:
- lib/wallee-ruby-sdk/models/installment_payment_state.rb
Constant Summary collapse
- CREATE =
'CREATE'.freeze
- CONFIRMED =
'CONFIRMED'.freeze
- AUTHORIZED =
'AUTHORIZED'.freeze
- REJECTED =
'REJECTED'.freeze
- COMPLETED =
'COMPLETED'.freeze
- RUNNING =
'RUNNING'.freeze
- DONE =
'DONE'.freeze
- DEFAULTED =
'DEFAULTED'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
35 36 37 38 39 |
# File 'lib/wallee-ruby-sdk/models/installment_payment_state.rb', line 35 def build_from_hash(value) constantValues = InstallmentPaymentState.constants.select { |c| InstallmentPaymentState::const_get(c) == value } raise "Invalid ENUM value #{value} for class #InstallmentPaymentState" if constantValues.empty? value end |