Sha256: c1d5bdd1110803c5a3522601a30efe0968f558e333fa73ccf774743c54e60634

Contents?: true

Size: 1.22 KB

Versions: 59

Compression:

Stored size: 1.22 KB

Contents

module NetSuite
  module Records
    class SiteCategory
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::ListWebsite

      # https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2014_1/schema/record/sitecategory.html

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

      fields :description, :exclude_from_site_map, :is_inactive, :is_online,
        :item_id, :meta_tag_html, :page_title, :presentation_item_list,
        :search_keywords, :sitemap_priority, :store_detailed_description,
        :translations_list, :url_component

      record_refs :category_list_layout, :correlated_items_list_layout, :item_list_layout, :parent_category,
        :related_items_list_layout, :store_display_image, :store_display_thumbnail, :website

      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

59 entries across 59 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/site_category.rb
netsuite-0.9.2 lib/netsuite/records/site_category.rb
netsuite-0.9.1 lib/netsuite/records/site_category.rb
netsuite-0.9.0 lib/netsuite/records/site_category.rb
netsuite-0.8.12 lib/netsuite/records/site_category.rb
netsuite-0.8.11 lib/netsuite/records/site_category.rb
netsuite-0.8.10 lib/netsuite/records/site_category.rb
netsuite-0.8.9 lib/netsuite/records/site_category.rb
netsuite-0.8.8 lib/netsuite/records/site_category.rb
netsuite-0.8.7 lib/netsuite/records/site_category.rb
netsuite-0.8.6 lib/netsuite/records/site_category.rb
netsuite-0.8.5 lib/netsuite/records/site_category.rb
netsuite-0.8.4 lib/netsuite/records/site_category.rb
netsuite-0.8.3 lib/netsuite/records/site_category.rb
netsuite-0.8.2 lib/netsuite/records/site_category.rb
netsuite-0.8.1 lib/netsuite/records/site_category.rb
netsuite-0.8.0 lib/netsuite/records/site_category.rb
netsuite-0.7.9 lib/netsuite/records/site_category.rb
netsuite-0.7.8 lib/netsuite/records/site_category.rb
netsuite-0.7.7 lib/netsuite/records/site_category.rb