class BudgeaClient::PaymentErrorCode
Constants
- ACTION_NEEDED
- AUTHENTICATION_FAILED
- BANK_MESSAGE
- BUG
- CANCELLED_BY_USER
- INSUFFICIENT_FUNDS
- INVALID_AMOUNT
- INVALID_BENEFICIARY
- INVALID_CURRENCY
- INVALID_DATE
- INVALID_EMITTER
- INVALID_LABEL
- INVALID_VALUE
- NO_ANSWER_FROM_CUSTOMER
- NO_SPECIFIED_REASON
- REGULATORY_REASON
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/budgea_client/models/payment_error_code.rb, line 38 def build_from_hash(value) constantValues = PaymentErrorCode.constants.select { |c| PaymentErrorCode::const_get(c) == value } raise "Invalid ENUM value #{value} for class #PaymentErrorCode" if constantValues.empty? value end