Sha256: a74e718fd1e3c9f23a83861e65612d35b926bbd3ea109a1ca6cbdb8e231c524d

Contents?: true

Size: 1005 Bytes

Versions: 1

Compression:

Stored size: 1005 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 InvoiceDeliveryMethod
    POSTING = "posting".freeze
    EMAIL = "email".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 = InvoiceDeliveryMethod.constants.select { |c| InvoiceDeliveryMethod::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #InvoiceDeliveryMethod" 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/invoice_delivery_method.rb