module LedgerSync module Adaptors module QuickBooksOnline module JournalEntry module Operations class Update < Operation::FullUpdate class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) optional(:currency).filled(:string) required(:ledger_id).filled(:string) optional(:line_items).array(Types::Reference) optional(:memo).filled(:string) optional(:reference_number).filled(:string) optional(:transaction_date).filled(:date?) end end end end end end end end