<?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 ReceivingStatus extends Dto
{
    /**
     * @param  ?string  $receiveStatus  Receive status of the line item.
     * @param  ?ItemQuantity  $receivedQuantity  Details of quantity ordered.
     * @param  ?\DateTimeInterface  $lastReceiveDate  The date when the most recent item was received at the buyer's warehouse. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> date/time format.
     */
    public function __construct(
        public readonly ?string $receiveStatus = null,
        public readonly ?ItemQuantity $receivedQuantity = null,
        public readonly ?\DateTimeInterface $lastReceiveDate = null,
    ) {}
}
