Sha256: 848d3dcebbcfc86e0dbd6a021432cd8563ae4e26d5bb448b9f0f134d5ee285e5

Contents?: true

Size: 764 Bytes

Versions: 8

Compression:

Stored size: 764 Bytes

Contents

# frozen_string_literal: true

require 'fortnox/api/types'

module Fortnox
  module API
    module Types
      class DefaultTemplates < Types::Model
        STUB = {}.freeze

        # Default template for orders. Must be a name of an existing print template.
        attribute :order, Types::Required::String

        # Default template for offers. Must be a name of an existing print template.
        attribute :offer, Types::Required::String

        # Default template for invoices. Must be a name of an existing print template.
        attribute :invoice, Types::Required::String

        # Default template for cash invoices. Must be a name of an existing print template.
        attribute :cash_invoice, Types::Required::String
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fortnox-api-0.8.0 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.7.2 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.7.1 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.7.0 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.6.3 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.6.2 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.6.1 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.6.0 lib/fortnox/api/types/default_templates.rb