Sha256: fbe4037de09e9f0d20a638b8336b989773637eeb2adc1415898a4ee6340c3e12
Contents?: true
Size: 760 Bytes
Versions: 4
Compression:
Stored size: 760 Bytes
Contents
# frozen_string_literal: true require_relative 'base' require_relative 'document' module Fortnox module API module Model class Order < Document UNIQUE_ID = :document_number STUB = { customer_number: '', order_rows: [] }.freeze # CopyRemarks I remarks shall copies from order to invoice attribute :copy_remarks, Types::Nullable::Boolean # InvoiceReference Reference if an invoice is created from order attribute :invoice_reference, Types::Nullable::Integer.is(:read_only) # OrderDate Date of order attribute :order_date, Types::Nullable::Date # OrderRows Separate object attribute :order_rows, Types::Strict::Array.of(Types::OrderRow) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems