Sha256: 3da466bc50b6464b1f84db4e1a4296286a9f3937a38d74b3c3c5f6788c9b13d3
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
=begin #Commerce Platform API #RESTful API for the creation of Commerce Cases with Checkouts and the execution of Payments. The version of the OpenAPI document: 1.8.0 Generated by: https://openapi-generator.tech Generator version: 7.7.0 =end require 'date' require 'time' module PCPServerSDK class UnscheduledCardOnFileSequenceIndicator FIRST = "first".freeze SUBSEQUENT = "subsequent".freeze def self.all_vars @all_vars ||= [FIRST, SUBSEQUENT].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 UnscheduledCardOnFileSequenceIndicator.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #UnscheduledCardOnFileSequenceIndicator" end end end
Version data entries
2 entries across 2 versions & 1 rubygems