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

use SellingPartnerApi\Dto;

final class ProductQuantity extends Dto
{
    protected static array $complexArrayTypes = ['attributes' => ProductAttribute::class];

    /**
     * @param  int  $quantity  Product quantity.
     * @param  string  $sku  The seller or merchant SKU.
     * @param  ProductAttribute[]|null  $attributes  Attributes for this instance of the product. For example, already-prepped, or other attributes that distinguish the product beyond the SKU.
     */
    public function __construct(
        public readonly int $quantity,
        public readonly string $sku,
        public readonly ?array $attributes = null,
    ) {}
}
