Sha256: cfd10e9a3b99f101afa1fc71cca74d44aba40326b5e9bd563a3e8874dc32092f

Contents?: true

Size: 866 Bytes

Versions: 13

Compression:

Stored size: 866 Bytes

Contents

# http://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2016_2/schema/record/customerstatus.html

module NetSuite
  module Records

    class CustomerStatus
      include Support::Records
      include Support::Fields
      include Support::RecordRefs
      include Support::Actions
      include Namespaces::ListRel

      actions :get, :add, :delete, :search, :update, :upsert

      fields :description, :include_in_lead_reports, :is_inactive, :name,
             :probability, :stage

      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

13 entries across 13 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/customer_status.rb
netsuite-0.9.2 lib/netsuite/records/customer_status.rb
netsuite-0.9.1 lib/netsuite/records/customer_status.rb
netsuite-0.9.0 lib/netsuite/records/customer_status.rb
netsuite-0.8.12 lib/netsuite/records/customer_status.rb
netsuite-0.8.11 lib/netsuite/records/customer_status.rb
netsuite-0.8.10 lib/netsuite/records/customer_status.rb
netsuite-0.8.9 lib/netsuite/records/customer_status.rb
netsuite-0.8.8 lib/netsuite/records/customer_status.rb
netsuite-0.8.7 lib/netsuite/records/customer_status.rb
netsuite-0.8.6 lib/netsuite/records/customer_status.rb
netsuite-0.8.5 lib/netsuite/records/customer_status.rb
netsuite-0.8.4 lib/netsuite/records/customer_status.rb