<?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\FBAInboundV0\Dto;

use SellingPartnerApi\Dto;

final class InboundShipmentRequest extends Dto
{
    protected static array $attributeMap = [
        'inboundShipmentHeader' => 'InboundShipmentHeader',
        'inboundShipmentItems' => 'InboundShipmentItems',
        'marketplaceId' => 'MarketplaceId',
    ];

    protected static array $complexArrayTypes = ['inboundShipmentItems' => InboundShipmentItem::class];

    /**
     * @param  InboundShipmentHeader  $inboundShipmentHeader  Inbound shipment information used to create and update inbound shipments.
     * @param  InboundShipmentItem[]  $inboundShipmentItems  A list of inbound shipment item information.
     * @param  string  $marketplaceId  A marketplace identifier. Specifies the marketplace where the product would be stored.
     */
    public function __construct(
        public readonly InboundShipmentHeader $inboundShipmentHeader,
        public readonly array $inboundShipmentItems,
        public readonly string $marketplaceId,
    ) {}
}
