Class: PostFinanceCheckout::PaymentInitiationAdviceFileState
- Inherits:
-
Object
- Object
- PostFinanceCheckout::PaymentInitiationAdviceFileState
- Defined in:
- lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file_state.rb
Constant Summary collapse
- CREATING =
'CREATING'.freeze
- FAILED =
'FAILED'.freeze
- CREATED =
'CREATED'.freeze
- OVERDUE =
'OVERDUE'.freeze
- UPLOADED =
'UPLOADED'.freeze
- DOWNLOADED =
'DOWNLOADED'.freeze
- PROCESSED =
'PROCESSED'.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
34 35 36 37 38 |
# File 'lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file_state.rb', line 34 def build_from_hash(value) constantValues = PaymentInitiationAdviceFileState.constants.select { |c| PaymentInitiationAdviceFileState::const_get(c) == value } raise "Invalid ENUM value #{value} for class #PaymentInitiationAdviceFileState" if constantValues.empty? value end |