require 'ebay_trading/types/selling_manager_auto_list_min_active_items'
require 'ebay_trading/types/selling_manager_auto_list_according_to_schedule'

module EbayTrading # :nodoc:
  module Types # :nodoc:
    # == Attributes
    #  numeric_node :source_sale_template_id, 'SourceSaleTemplateID', :optional => true
    #  object_node :keep_min_active, 'KeepMinActive', :class => SellingManagerAutoListMinActiveItems, :optional => true
    #  object_node :list_according_to_schedule, 'ListAccordingToSchedule', :class => SellingManagerAutoListAccordingToSchedule, :optional => true
    class SellingManagerAutoList
      include XML::Mapping
      include Initializer
      root_element_name 'SellingManagerAutoList'
      numeric_node :source_sale_template_id, 'SourceSaleTemplateID', :optional => true
      object_node :keep_min_active, 'KeepMinActive', :class => SellingManagerAutoListMinActiveItems, :optional => true
      object_node :list_according_to_schedule, 'ListAccordingToSchedule', :class => SellingManagerAutoListAccordingToSchedule, :optional => true
    end
  end
end


