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

use SellingPartnerApi\Dto;

final class PackedItem extends Dto
{
    /**
     * @param  int  $itemSequenceNumber  Item Sequence Number for the item. This must be the same value as sent in the order for a given item.
     * @param  ItemQuantity  $packedQuantity  Details of item quantity.
     * @param  ?string  $buyerProductIdentifier  Buyer's Standard Identification Number (ASIN) of an item. Either `buyerProductIdentifier` or `vendorProductIdentifier` is required.
     * @param  ?string  $vendorProductIdentifier  The vendor selected product identification of the item. Should be the same as was sent in the Purchase Order, like SKU Number.
     */
    public function __construct(
        public readonly int $itemSequenceNumber,
        public readonly ItemQuantity $packedQuantity,
        public readonly ?string $buyerProductIdentifier = null,
        public readonly ?string $vendorProductIdentifier = null,
    ) {}
}
