<?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 FbaLiquidationEvent extends Dto
{
    protected static array $attributeMap = [
        'postedDate' => 'PostedDate',
        'originalRemovalOrderId' => 'OriginalRemovalOrderId',
        'liquidationProceedsAmount' => 'LiquidationProceedsAmount',
        'liquidationFeeAmount' => 'LiquidationFeeAmount',
    ];

    /**
     * @param  ?\DateTimeInterface  $postedDate
     * @param  ?string  $originalRemovalOrderId  The identifier for the original removal order.
     * @param  ?Currency  $liquidationProceedsAmount  A currency type and amount.
     * @param  ?Currency  $liquidationFeeAmount  A currency type and amount.
     */
    public function __construct(
        public readonly ?\DateTimeInterface $postedDate = null,
        public readonly ?string $originalRemovalOrderId = null,
        public readonly ?Currency $liquidationProceedsAmount = null,
        public readonly ?Currency $liquidationFeeAmount = null,
    ) {}
}
