Sha256: 39b16c509ae06f6dfa741663b8b3cbbe241530e213fbed01402aaa9765f8b5f0

Contents?: true

Size: 599 Bytes

Versions: 2

Compression:

Stored size: 599 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Customer
        module Operations
          class Create < QuickBooksOnline::Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).value(:nil)
                required(:email).maybe(:string)
                required(:name).filled(:string)
                required(:phone_number).maybe(:string)
              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/customer/operations/create.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb