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

use SellingPartnerApi\Response;
use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\InboundPlanSummary;
use SellingPartnerApi\Seller\FBAInboundV20240320\Dto\Pagination;

final class ListInboundPlansResponse extends Response
{
    protected static array $complexArrayTypes = ['inboundPlans' => [InboundPlanSummary::class]];

    /**
     * @param  InboundPlanSummary[]|null  $inboundPlans  A list of inbound plans with minimal information.
     * @param  ?Pagination  $pagination  Contains tokens to fetch from a certain page.
     */
    public function __construct(
        public readonly ?array $inboundPlans = null,
        public readonly ?Pagination $pagination = null,
    ) {}
}
