Class: SyncteraRubySdk::CardStatusReasonCode
- Inherits:
-
Object
- Object
- SyncteraRubySdk::CardStatusReasonCode
- Defined in:
- lib/synctera_ruby_sdk/models/card_status_reason_code.rb
Constant Summary collapse
- NEW =
"NEW".freeze
- REQ =
"REQ".freeze
- INA =
"INA".freeze
- UNK =
"UNK".freeze
- NEG =
"NEG".freeze
- REV =
"REV".freeze
- SUS =
"SUS".freeze
- OUT =
"OUT".freeze
- FRD =
"FRD".freeze
- MAT =
"MAT".freeze
- LOS =
"LOS".freeze
- CLO =
"CLO".freeze
- COM =
"COM".freeze
- TMP =
"TMP".freeze
- PRC =
"PRC".freeze
- ISS =
"ISS".freeze
- EXP =
"EXP".freeze
- KYC =
"KYC".freeze
- INF =
"INF".freeze
- ACT =
"ACT".freeze
- AUX =
"AUX".freeze
- PIN =
"PIN".freeze
- STO =
"STO".freeze
- ADD =
"ADD".freeze
- NAM =
"NAM".freeze
- SSN =
"SSN".freeze
- DOB =
"DOB".freeze
- EML =
"EML".freeze
- PHO =
"PHO".freeze
- FUL =
"FUL".freeze
- OTH =
"OTH".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
50 51 52 |
# File 'lib/synctera_ruby_sdk/models/card_status_reason_code.rb', line 50 def self.all_vars @all_vars ||= [NEW, REQ, INA, UNK, NEG, REV, SUS, OUT, FRD, MAT, LOS, CLO, COM, TMP, PRC, ISS, EXP, KYC, INF, ACT, AUX, PIN, STO, ADD, NAM, SSN, DOB, EML, PHO, FUL, OTH].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
57 58 59 |
# File 'lib/synctera_ruby_sdk/models/card_status_reason_code.rb', line 57 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
64 65 66 67 |
# File 'lib/synctera_ruby_sdk/models/card_status_reason_code.rb', line 64 def build_from_hash(value) return value if CardStatusReasonCode.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #CardStatusReasonCode" end |