Sha256: 9a1beb21ec97208ccde67ac8f62a7ea16f1a2c92b68248cf4a9fcc33efd66b55

Contents?: true

Size: 785 Bytes

Versions: 8

Compression:

Stored size: 785 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Customer
        module Operations
          class Create < NetSuite::Operation::Create
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).filled(:string)
                required(:ledger_id).value(:nil)
                required(:email).maybe(:string)
                required(:companyName).filled(:string)
                required(:phone).maybe(:string)
                required(:firstName).maybe(:string)
                required(:lastName).maybe(:string)
                required(:subsidiary).filled(:hash, Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb