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

use SellingPartnerApi\Dto;

final class SubstitutionOption extends Dto
{
    protected static array $attributeMap = [
        'asin' => 'ASIN',
        'quantityOrdered' => 'QuantityOrdered',
        'sellerSku' => 'SellerSKU',
        'title' => 'Title',
        'measurement' => 'Measurement',
    ];

    /**
     * @param  ?string  $asin  The Amazon Standard Identification Number (ASIN) of the item.
     * @param  ?int  $quantityOrdered  The number of items to be picked for this substitution option.
     * @param  ?string  $sellerSku  The seller stock keeping unit (SKU) of the item.
     * @param  ?string  $title  The title of the item.
     * @param  ?Measurement  $measurement  Measurement information for an order item.
     */
    public function __construct(
        public readonly ?string $asin = null,
        public readonly ?int $quantityOrdered = null,
        public readonly ?string $sellerSku = null,
        public readonly ?string $title = null,
        public readonly ?Measurement $measurement = null,
    ) {}
}
