Sha256: 831ecf3002a7a057ea9beb9de3b511c58f891a002f441547224debd33060a60b

Contents?: true

Size: 684 Bytes

Versions: 3

Compression:

Stored size: 684 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Customer
        module Operations
          class Create < NetSuite::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)
                required(:subsidiary).filled(: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.3.3 lib/ledger_sync/adaptors/netsuite/customer/operations/create.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/netsuite/customer/operations/create.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/netsuite/customer/operations/create.rb