<?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\AmazonWarehousingAndDistributionV20240509\Responses;

use SellingPartnerApi\Response;
use SellingPartnerApi\Seller\AmazonWarehousingAndDistributionV20240509\Dto\InventorySummary;

final class InventoryListing extends Response
{
    protected static array $complexArrayTypes = ['inventory' => InventorySummary::class];

    /**
     * @param  InventorySummary[]  $inventory  List of inventory summaries.
     * @param  ?string  $nextToken  Token to retrieve the next set of paginated results.
     */
    public function __construct(
        public readonly array $inventory,
        public readonly ?string $nextToken = null,
    ) {}
}
