Sha256: a20eb3e466f47b3234acecb7dd5eff682b45b871f2f8b8ce0558ad66af4176dc
Contents?: true
Size: 842 Bytes
Versions: 4
Compression:
Stored size: 842 Bytes
Contents
module LedgerSync module Adaptors module QuickBooksOnline module Invoice module Operations class Update < Operation::FullUpdate class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) required(:currency).filled(:hash, Types::Reference) required(:customer).hash(Types::Reference) optional(:deposit).maybe(:integer) required(:ledger_id).filled(:string) required(:line_items).array(Types::Reference) optional(:memo).filled(:string) optional(:transaction_date).filled(:date?) end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems