Sha256: fe18a75b7bfe38ce130175f9853cd372f5d41fdf17c4670cbe3cdd9ab855105b
Contents?: true
Size: 1.68 KB
Versions: 1
Compression:
Stored size: 1.68 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.31 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech OpenAPI Generator version: 7.1.0 =end require 'date' require 'time' module FattureInCloud_Ruby_Sdk class IssuedDocumentType INVOICE = "invoice".freeze QUOTE = "quote".freeze PROFORMA = "proforma".freeze RECEIPT = "receipt".freeze DELIVERY_NOTE = "delivery_note".freeze CREDIT_NOTE = "credit_note".freeze ORDER = "order".freeze WORK_REPORT = "work_report".freeze SUPPLIER_ORDER = "supplier_order".freeze SELF_OWN_INVOICE = "self_own_invoice".freeze SELF_SUPPLIER_INVOICE = "self_supplier_invoice".freeze def self.all_vars @all_vars ||= [INVOICE, QUOTE, PROFORMA, RECEIPT, DELIVERY_NOTE, CREDIT_NOTE, ORDER, WORK_REPORT, SUPPLIER_ORDER, SELF_OWN_INVOICE, SELF_SUPPLIER_INVOICE].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 IssuedDocumentType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #IssuedDocumentType" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fattureincloud_ruby_sdk-2.0.19 | lib/fattureincloud_ruby_sdk/models/issued_document_type.rb |