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

use SellingPartnerApi\Dto;

final class Stop extends Dto
{
    /**
     * @param  string  $functionCode  Provide the function code.
     * @param  ?Location  $locationIdentification  Location identifier.
     * @param  ?\DateTimeInterface  $arrivalTime  Date and time of the arrival of the cargo.
     * @param  ?\DateTimeInterface  $departureTime  Date and time of the departure of the cargo.
     */
    public function __construct(
        public readonly string $functionCode,
        public readonly ?Location $locationIdentification = null,
        public readonly ?\DateTimeInterface $arrivalTime = null,
        public readonly ?\DateTimeInterface $departureTime = null,
    ) {}
}
