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

use SellingPartnerApi\Dto;

final class AdjustmentItem extends Dto
{
    protected static array $attributeMap = [
        'quantity' => 'Quantity',
        'perUnitAmount' => 'PerUnitAmount',
        'totalAmount' => 'TotalAmount',
        'sellerSku' => 'SellerSKU',
        'fnSku' => 'FnSKU',
        'productDescription' => 'ProductDescription',
        'asin' => 'ASIN',
    ];

    /**
     * @param  ?string  $quantity  Represents the number of units in the seller's inventory when the AdustmentType is FBAInventoryReimbursement.
     * @param  ?Currency  $perUnitAmount  A currency type and amount.
     * @param  ?Currency  $totalAmount  A currency type and amount.
     * @param  ?string  $sellerSku  The seller SKU of the item. The seller SKU is qualified by the seller's seller ID, which is included with every call to the Selling Partner API.
     * @param  ?string  $fnSku  A unique identifier assigned to products stored in and fulfilled from a fulfillment center.
     * @param  ?string  $productDescription  A short description of the item.
     * @param  ?string  $asin  The Amazon Standard Identification Number (ASIN) of the item.
     */
    public function __construct(
        public readonly ?string $quantity = null,
        public readonly ?Currency $perUnitAmount = null,
        public readonly ?Currency $totalAmount = null,
        public readonly ?string $sellerSku = null,
        public readonly ?string $fnSku = null,
        public readonly ?string $productDescription = null,
        public readonly ?string $asin = null,
    ) {}
}
