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

use SellingPartnerApi\Dto;

final class CreateShipmentResult extends Dto
{
    protected static array $complexArrayTypes = ['eligibleRates' => Rate::class];

    /**
     * @param  string  $shipmentId  The unique shipment identifier.
     * @param  Rate[]  $eligibleRates  A list of all the available rates that can be used to send the shipment.
     */
    public function __construct(
        public readonly string $shipmentId,
        public readonly array $eligibleRates,
    ) {}
}
