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

use SellingPartnerApi\Dto;

final class OrderedQuantityDetails extends Dto
{
    /**
     * @param  ?\DateTimeInterface  $updatedDate  The date when the line item quantity was updated by the buyer. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> date/time format.
     * @param  ?ItemQuantity  $orderedQuantity  Details of quantity ordered.
     * @param  ?ItemQuantity  $cancelledQuantity  Details of quantity ordered.
     */
    public function __construct(
        public readonly ?\DateTimeInterface $updatedDate = null,
        public readonly ?ItemQuantity $orderedQuantity = null,
        public readonly ?ItemQuantity $cancelledQuantity = null,
    ) {}
}
