<?php

/**
 * This file is auto-generated by Saloon SDK Generator
 * Generator: SellingPartnerApi\Generator\Generators\ResponseGenerator
 * Do not modify it directly.
 */

declare(strict_types=1);

namespace SellingPartnerApi\Seller\ReplenishmentV20221107\Responses;

use SellingPartnerApi\Response;
use SellingPartnerApi\Seller\ReplenishmentV20221107\Dto\ListOffersResponseOffer;
use SellingPartnerApi\Seller\ReplenishmentV20221107\Dto\PaginationResponse;

final class ListOffersResponse extends Response
{
    protected static array $complexArrayTypes = ['offers' => ListOffersResponseOffer::class];

    /**
     * @param  ListOffersResponseOffer[]|null  $offers  A list of offers.
     * @param  ?PaginationResponse  $pagination  Use these parameters to paginate through the response.
     */
    public function __construct(
        public readonly ?array $offers = null,
        public readonly ?PaginationResponse $pagination = null,
    ) {}
}
