=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 DisclosureType ACH_AUTHORIZATION = "ACH_AUTHORIZATION".freeze CARDHOLDER_AGREEMENT = "CARDHOLDER_AGREEMENT".freeze E_SIGN = "E_SIGN".freeze KYC_DATA_COLLECTION = "KYC_DATA_COLLECTION".freeze PRIVACY_NOTICE = "PRIVACY_NOTICE".freeze OWNER_CERTIFICATION = "OWNER_CERTIFICATION".freeze REG_CC = "REG_CC".freeze REG_DD = "REG_DD".freeze REG_E = "REG_E".freeze TERMS_AND_CONDITIONS = "TERMS_AND_CONDITIONS".freeze SC_ACCOUNT_AGREEMENT = "SC_ACCOUNT_AGREEMENT".freeze SC_SECURITY_AGREEMENT = "SC_SECURITY_AGREEMENT".freeze SC_AUTO_PAYMENT = "SC_AUTO_PAYMENT".freeze def self.all_vars @all_vars ||= [ACH_AUTHORIZATION, CARDHOLDER_AGREEMENT, E_SIGN, KYC_DATA_COLLECTION, PRIVACY_NOTICE, OWNER_CERTIFICATION, REG_CC, REG_DD, REG_E, TERMS_AND_CONDITIONS, SC_ACCOUNT_AGREEMENT, SC_SECURITY_AGREEMENT, SC_AUTO_PAYMENT].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 DisclosureType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #DisclosureType" end end end