Class FeedDocument


  • public class FeedDocument
    extends java.lang.Object
    Information required for the feed document.
    • Constructor Detail

      • FeedDocument

        public FeedDocument()
    • Method Detail

      • feedDocumentId

        public FeedDocument feedDocumentId​(java.lang.String feedDocumentId)
      • getFeedDocumentId

        public java.lang.String getFeedDocumentId()
        The identifier for the feed document. This identifier is unique only in combination with a seller ID.
        Returns:
        feedDocumentId
      • setFeedDocumentId

        public void setFeedDocumentId​(java.lang.String feedDocumentId)
      • getUrl

        public java.lang.String getUrl()
        A presigned URL for the feed document. If `compressionAlgorithm` is not returned, you can download the feed directly from this URL. This URL expires after 5 minutes.
        Returns:
        url
      • setUrl

        public void setUrl​(java.lang.String url)
      • getCompressionAlgorithm

        public FeedDocument.CompressionAlgorithmEnum getCompressionAlgorithm()
        If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to [Step 7. Download the feed processing report](doc:feeds-api-v2021-06-30-use-case-guide#step-7-download-the-feed-processing-report) in the use case guide, where sample code is provided.
        Returns:
        compressionAlgorithm
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object