Sha256: 633bd8d9260c04e2b5051fdfa2edb285c4b522c20011ecaf0e9259920ddb93d5

Contents?: true

Size: 847 Bytes

Versions: 3

Compression:

Stored size: 847 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
    class Vendor
        module Operations
          class Delete < NetSuite::Operation::Delete
            class Contract < LedgerSync::Ledgers::Contract
              params do
                optional(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:company_name).maybe(:string)
                optional(:display_name).maybe(:string)
                optional(:first_name).maybe(:string)
                optional(:last_name).maybe(:string)
                optional(:email).maybe(:string)
                optional(:phone_number).maybe(:string)
                optional(:subsidiary).maybe(: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.4.2 lib/ledger_sync/ledgers/netsuite/vendor/operations/delete.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/vendor/operations/delete.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/vendor/operations/delete.rb