Sha256: b5a3fef39e9467d02ccca12c4b3dfb196b729330fe663bf2156206f01826cb8f

Contents?: true

Size: 685 Bytes

Versions: 2

Compression:

Stored size: 685 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).filled(: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

2 entries across 2 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/customer/operations/create.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/customer/operations/create.rb