Sha256: 2510c11893769be53b4cd7d98013ea79770ad2ed943f873b47d319b13137b8e7

Contents?: true

Size: 599 Bytes

Versions: 2

Compression:

Stored size: 599 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Payment
        module Operations
          class Update < Operation::FullUpdate
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:amount).filled(:integer)
                required(:currency).filled(:string)
                required(:customer).hash(Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/payment/operations/update.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/payment/operations/update.rb