# frozen_string_literal: true

# This file is generated. Do not edit.

require "peddler/types/customer_feedback_2024_06_01/date_range"
require "peddler/types/customer_feedback_2024_06_01/browse_node_return_trend"

module Peddler
  module Types
    module CustomerFeedback20240601
      # The response for the `getBrowseNodeReturnTrends` operation.
      BrowseNodeReturnTrendsResponse = Structure.new do
        # @return [String] The requested browse node id. A browse node id is the unique identifier of a given browse
        # node.
        attribute(:browse_node_id, String, from: "browseNodeId")

        # @return [String] The two digit country code of requested marketplace id, in ISO 3166-1 alpha-2 format.
        attribute(:country_code, String, from: "countryCode")

        # @return [DateRange] The range of dates during which the returns were made.
        attribute(:date_range, DateRange, from: "dateRange")

        # @return [String] The display name of the browse node, as visible on the Amazon retail website.
        attribute(:display_name, String, from: "displayName")

        # @return [String] The requested marketplace id.
        attribute(:marketplace_id, String, from: "marketplaceId")

        # @return [Array<BrowseNodeReturnTrend>] The browse node return trends.
        attribute(:return_trends, [BrowseNodeReturnTrend], from: "returnTrends")
      end
    end
  end
end
