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

use SellingPartnerApi\Dto;

final class InboundShipmentSummary extends Dto
{
    /**
     * @param  string  $orderId  The AWD inbound order ID that this inbound shipment belongs to.
     * @param  string  $shipmentId  A unique shipment ID.
     * @param  string  $shipmentStatus  Possible shipment statuses used by shipments.
     * @param  ?\DateTimeInterface  $createdAt  Timestamp when the shipment was created.
     * @param  ?string  $externalReferenceId  Optional client-provided reference ID that can be used to correlate this shipment with client resources. For example, to map this shipment to an internal bookkeeping order record.
     * @param  ?\DateTimeInterface  $updatedAt  Timestamp when the shipment was updated.
     */
    public function __construct(
        public readonly string $orderId,
        public readonly string $shipmentId,
        public readonly string $shipmentStatus,
        public readonly ?\DateTimeInterface $createdAt = null,
        public readonly ?string $externalReferenceId = null,
        public readonly ?\DateTimeInterface $updatedAt = null,
    ) {}
}
