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

use SellingPartnerApi\Dto;

final class PartneredEstimate extends Dto
{
    protected static array $attributeMap = [
        'amount' => 'Amount',
        'confirmDeadline' => 'ConfirmDeadline',
        'voidDeadline' => 'VoidDeadline',
    ];

    /**
     * @param  Amount  $amount  The monetary value.
     * @param  ?\DateTimeInterface  $confirmDeadline  Timestamp in ISO 8601 format.
     * @param  ?\DateTimeInterface  $voidDeadline  Timestamp in ISO 8601 format.
     */
    public function __construct(
        public readonly Amount $amount,
        public readonly ?\DateTimeInterface $confirmDeadline = null,
        public readonly ?\DateTimeInterface $voidDeadline = null,
    ) {}
}
