<?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 ShipmentMeasurements extends Dto
{
    /**
     * @param  ?Weight  $grossShipmentWeight  The weight of the shipment.
     * @param  ?Volume  $shipmentVolume  The volume of the shipment.
     * @param  ?int  $cartonCount  Number of cartons present in the shipment. Provide the cartonCount only for non-palletized shipments.
     * @param  ?int  $palletCount  Number of pallets present in the shipment. Provide the palletCount only for palletized shipments.
     */
    public function __construct(
        public readonly ?Weight $grossShipmentWeight = null,
        public readonly ?Volume $shipmentVolume = null,
        public readonly ?int $cartonCount = null,
        public readonly ?int $palletCount = null,
    ) {}
}
