Sha256: 2973a21705e68d6e8170d8129ba8d069585de94eaf486b35bb47eeb2a9cca51a

Contents?: true

Size: 898 Bytes

Versions: 4

Compression:

Stored size: 898 Bytes

Contents

module NetSuite
  module Records
    class PhoneCall
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::ActSched

      actions :get, :add, :delete, :update

      fields :title, :message, :phone, :status, :priority, :start_date, :end_date,
        :start_time, :end_time, :completed_date, :timed_event, :access_level, :timed_event

      field :contact_list, ContactList

      record_refs :assigned, :owner, :company, :contact

      attr_reader   :internal_id
      attr_accessor :external_id

      def initialize(attributes = {})
        @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
        @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
        initialize_from_attributes_hash(attributes)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
netsuite-0.2.3 lib/netsuite/records/phone_call.rb
netsuite-0.2.2 lib/netsuite/records/phone_call.rb
netsuite-0.2.1 lib/netsuite/records/phone_call.rb
netsuite-0.2.0 lib/netsuite/records/phone_call.rb