<?php

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

declare(strict_types=1);

namespace SellingPartnerApi\Seller\EasyShipV20220323\Responses;

use SellingPartnerApi\Response;
use SellingPartnerApi\Seller\EasyShipV20220323\Dto\TimeSlot;

final class ListHandoverSlotsResponse extends Response
{
    protected static array $complexArrayTypes = ['timeSlots' => TimeSlot::class];

    /**
     * @param  string  $amazonOrderId  An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
     * @param  TimeSlot[]  $timeSlots  A list of time slots.
     */
    public function __construct(
        public readonly string $amazonOrderId,
        public readonly array $timeSlots,
    ) {}
}
