=begin #Synctera API #
Welcome to the official reference documentation for Synctera APIs. Our APIs are the best way to automate your company's banking needs and are designed to be easy to understand and implement.
We're continuously growing this library and what you see here is just the start, but if you need something specific or have a question, contact us.
The version of the OpenAPI document: 0.60.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.5.0 =end require 'date' require 'time' module SyncteraRubySdk class CardStatusReasonCode 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 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 # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) return value if CardStatusReasonCode.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #CardStatusReasonCode" end end end