<?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 TransportHeader extends Dto
{
    protected static array $attributeMap = [
        'sellerId' => 'SellerId',
        'shipmentId' => 'ShipmentId',
        'isPartnered' => 'IsPartnered',
        'shipmentType' => 'ShipmentType',
    ];

    /**
     * @param  string  $sellerId  The Amazon seller identifier.
     * @param  string  $shipmentId  A shipment identifier originally returned by the createInboundShipmentPlan operation.
     * @param  bool  $isPartnered  Indicates whether a putTransportDetails request is for a partnered carrier.
     *
     * Possible values:
     *
     * * true – Request is for an Amazon-partnered carrier.
     *
     * * false – Request is for a non-Amazon-partnered carrier.
     * @param  string  $shipmentType  Specifies the carrier shipment type in a putTransportDetails request.
     */
    public function __construct(
        public readonly string $sellerId,
        public readonly string $shipmentId,
        public readonly bool $isPartnered,
        public readonly string $shipmentType,
    ) {}
}
