Class: Fortnox::API::Model::Document

Inherits:
Base show all
Defined in:
lib/fortnox/api/models/document.rb

Overview

This model is the shared attributes for Offer, Order and Invoice, the three “docuemnt models” in Fortnox. In the Fortnox implementation these are so close together that they are saved in the same database table. This is never used standalone, only included in the respective models.

Direct Known Subclasses

Invoice, Order

Instance Attribute Summary

Attributes inherited from Base

#parent, #unsaved

Method Summary

Methods inherited from Base

#==, attribute, #attributes, new, #new?, #parent?, #saved?, stub, #to_hash, #unique_id, #update

Methods inherited from Types::Model

#initialize

Constructor Details

This class inherits a constructor from Fortnox::API::Types::Model