Sha256: 6f5350ef10abdd174bf3fe2a31123334341d7507d8f9560a1fe05eb16fa22ba9

Contents?: true

Size: 860 Bytes

Versions: 14

Compression:

Stored size: 860 Bytes

Contents

module NetSuite
  module Records
    class PriceLevel
      include Support::Fields
      include Support::Records
      include Support::Actions
      include Support::RecordRefs
      include Namespaces::ListAcct

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

      # http://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2017_1/schema/record/pricelevel.html
      fields :discountpct, :name, :is_online, :update_existing_prices,
             :is_inactive

      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

14 entries across 14 versions & 1 rubygems

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