Sha256: 07b3accf705e8b8b5c283d8d1314c9fab18595b867286033b0d0ea974abfc786
Contents?: true
Size: 862 Bytes
Versions: 4
Compression:
Stored size: 862 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class Invoice module Operations class Create < Operation::Create class Contract < LedgerSync::Ledgers::Contract params 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).value(:nil) 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