Sha256: 11ecc2d12c07b0d1143a6a7c1101470d86f8b40bf14a3b65c1768eb9d94cedb7

Contents?: true

Size: 787 Bytes

Versions: 48

Compression:

Stored size: 787 Bytes

Contents

module NetSuite
  module Records
    class VendorCategory
      # NOTE this record is undocumented, look at the WSDL for details
      
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::ListAcct

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

      fields :name, :is_tax_agency, :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

48 entries across 48 versions & 1 rubygems

Version Path
netsuite-0.5.6 lib/netsuite/records/vendor_category.rb
netsuite-0.5.5 lib/netsuite/records/vendor_category.rb
netsuite-0.5.4 lib/netsuite/records/vendor_category.rb
netsuite-0.5.3 lib/netsuite/records/vendor_category.rb
netsuite-0.5.2 lib/netsuite/records/vendor_category.rb
netsuite-0.5.1 lib/netsuite/records/vendor_category.rb
netsuite-0.5.0 lib/netsuite/records/vendor_category.rb
netsuite-0.4.9 lib/netsuite/records/vendor_category.rb