Sha256: 6db0b69e1668577da6c8b24e3238d7dc9490ad7b486a3077d96d1f7da6fdcf34

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

=begin
#Fatture in Cloud API v2 - API Reference

#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy.   The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.

The version of the OpenAPI document: 2.0.18
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.0.0

=end

require 'date'
require 'time'

module FattureInCloud_Ruby_Sdk
  class CashbookEntryKind
    CASHBOOK = "cashbook".freeze
    ISSUED_DOCUMENT = "issued_document".freeze
    RECEIVED_DOCUMENT = "received_document".freeze
    TAX = "tax".freeze
    RECEIPT = "receipt".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 = CashbookEntryKind.constants.select { |c| CashbookEntryKind::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #CashbookEntryKind" if constantValues.empty?
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fattureincloud_ruby_sdk-2.0.9 lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb