<?php

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

declare(strict_types=1);

namespace SellingPartnerApi\Seller\FBAInboundV20240320\Dto;

use SellingPartnerApi\Dto;

final class CreateInboundPlanRequest extends Dto
{
    protected static array $complexArrayTypes = ['items' => ItemInput::class];

    /**
     * @param  string[]  $destinationMarketplaces  Marketplaces where the items need to be shipped to. Currently only one marketplace can be selected in this request.
     * @param  ItemInput[]  $items  Items included in this plan.
     * @param  AddressInput  $sourceAddress  Specific details to identify a place.
     * @param  ?string  $name  Name for the Inbound Plan. If one isn't provided, a default name will be provided.
     */
    public function __construct(
        public readonly array $destinationMarketplaces,
        public readonly array $items,
        public readonly AddressInput $sourceAddress,
        public readonly ?string $name = null,
    ) {}
}
