Class ProductFeed

    • Method Detail

      • getCountry

        public String getCountry()
        Returns:
        An ISO 3166-1 Alpha 2 country code
      • setCountry

        public void setCountry​(String country)
        An ISO 3166-1 Alpha 2 country code
      • setCreatedTime

        public void setCreatedTime​(Date createdTime)
        Creation time of the product feed
      • setDefaultCurrency

        public void setDefaultCurrency​(String defaultCurrency)
        Default currency for products. If no currency is specified for items in the feed file, this value would be used
      • getDeletionEnabled

        public Boolean getDeletionEnabled()
        Returns:
        Allows products to be deleted if they are no longer included in a product feed
      • setDeletionEnabled

        public void setDeletionEnabled​(Boolean deletionEnabled)
        Allows products to be deleted if they are no longer included in a product feed
      • getDelimiter

        public String getDelimiter()
        Returns:
        The delimiter used in product feed file
      • setDelimiter

        public void setDelimiter​(String delimiter)
        The delimiter used in product feed file possible values: AUTODETECT, BAR, COMMA, TAB, TILDE, SEMICOLON
      • getEncoding

        public String getEncoding()
        Returns:
        The character encoding used by provided feed
      • setEncoding

        public void setEncoding​(String encoding)
        The character encoding used by provided feed possible values: AUTODETECT, LATIN1, UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE
      • getFileName

        public String getFileName()
        Returns:
        File name of the product feed. Will be overridden by name if present
      • setFileName

        public void setFileName​(String fileName)
        File name of the product feed. Will be overridden by name if present
      • getProductCount

        public Long getProductCount()
        Returns:
        The total products of this product catalog
      • setProductCount

        public void setProductCount​(Long productCount)
        The total products of this product catalog
      • setQuotedFieldsMode

        public void setQuotedFieldsMode​(String quotedFieldsMode)
        Allows tabs and newlines within fields possible values: AUTODETECT, ON, OFF