Sha256: b67bf6e0d3dcf6eba76083f7711c75c9e058eb39f604c4a54659ad677511bff8

Contents?: true

Size: 979 Bytes

Versions: 1

Compression:

Stored size: 979 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 BillingCondition
    PASSED = "passed".freeze
    ALL = "all".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 = BillingCondition.constants.select { |c| BillingCondition::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #BillingCondition" 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/billing_condition.rb