Sha256: 829f42dcb9c5c1a9c7c2cbb8ef6cdaca8c7c8c830beca90c660d8c03cae55be2

Contents?: true

Size: 989 Bytes

Versions: 1

Compression:

Stored size: 989 Bytes

Contents

=begin
#Money Forward Kessai API v2

#Money Forward Kessai REST API

The version of the OpenAPI document: 2.6.7
Contact: api.support@mfkessai.co.jp
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.0.1

=end

require 'date'
require 'time'

module MfkOpenapiRubyClient
  class TaxIncludedType
    INCLUDED = "included".freeze
    EXCLUDED = "excluded".freeze

    # 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)
      constantValues = TaxIncludedType.constants.select { |c| TaxIncludedType::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #TaxIncludedType" if constantValues.empty?
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mfk_openapi_ruby_client-1.0.0 lib/mfk_openapi_ruby_client/models/tax_included_type.rb