Sha256: 07eba790e9537cf1f9c63ff506e65dbbfdda67f461294519c94c718ad31795b7

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

=begin
#Fatture in Cloud API v2 - API Reference

#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.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.24
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.2.1

=end

require 'date'
require 'time'

module FattureInCloud_Ruby_Sdk
  class ReceiptType
    TILL_RECEIPT = "till_receipt".freeze
    SALES_RECEIPT = "sales_receipt".freeze

    def self.all_vars
      @all_vars ||= [TILL_RECEIPT, SALES_RECEIPT].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 ReceiptType.all_vars.include?(value)
      raise "Invalid ENUM value #{value} for class #ReceiptType"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fattureincloud_ruby_sdk-2.0.13 lib/fattureincloud_ruby_sdk/models/receipt_type.rb