Sha256: 022768f734f4af6d10761bb255e524f5d93b20fd71cdf29469d1cb20b258fc36

Contents?: true

Size: 733 Bytes

Versions: 6

Compression:

Stored size: 733 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
fortnox-api-0.5.2 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.5.1 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.5.0 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.4.0 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.3.0 lib/fortnox/api/types/default_templates.rb
fortnox-api-0.2.0 lib/fortnox/api/types/default_templates.rb