Sha256: 6b3b4a94051998021ecb67ab34aa254eeb4a5e58883cea28df8a4dee14ea27b2

Contents?: true

Size: 688 Bytes

Versions: 5

Compression:

Stored size: 688 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Customer
        module Operations
          class Update < NetSuite::Operation::Update
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:email).maybe(:string)
                required(:name).filled(:string)
                required(:phone_number).maybe(:string)
                required(:subsidiary).filled(:hash, Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/customer/operations/update.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/customer/operations/update.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/netsuite/customer/operations/update.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/netsuite/customer/operations/update.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/netsuite/customer/operations/update.rb