Sha256: af4c7a77db95301f75d41140a0ce9427b14c66ddac472f840fe1b82fb2bef484

Contents?: true

Size: 869 Bytes

Versions: 3

Compression:

Stored size: 869 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Bill
        module Operations
          class Create < Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                optional(:account).hash(Types::Reference)
                optional(:currency).filled(:string)
                optional(:due_date).maybe(:date?)
                optional(:ledger_id).value(:nil)
                required(:line_items).array(Types::Reference)
                optional(:memo).maybe(:string)
                optional(:reference_number).maybe(:string)
                optional(:transaction_date).maybe(:date?)
                required(:vendor).hash(Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/create.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/create.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/create.rb