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

use SellingPartnerApi\Dto;

final class FeesEstimateByIdRequest extends Dto
{
    protected static array $attributeMap = [
        'idType' => 'IdType',
        'idValue' => 'IdValue',
        'feesEstimateRequest' => 'FeesEstimateRequest',
    ];

    /**
     * @param  string  $idType  The type of product identifier used in a `FeesEstimateByIdRequest`.
     * @param  string  $idValue  The item identifier.
     * @param  ?FeesEstimateRequest  $feesEstimateRequest  A product, marketplace, and proposed price used to request estimated fees.
     */
    public function __construct(
        public readonly string $idType,
        public readonly string $idValue,
        public readonly ?FeesEstimateRequest $feesEstimateRequest = null,
    ) {}
}
