<?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 DebtRecoveryItem extends Dto
{
    protected static array $attributeMap = [
        'recoveryAmount' => 'RecoveryAmount',
        'originalAmount' => 'OriginalAmount',
        'groupBeginDate' => 'GroupBeginDate',
        'groupEndDate' => 'GroupEndDate',
    ];

    /**
     * @param  ?Currency  $recoveryAmount  A currency type and amount.
     * @param  ?Currency  $originalAmount  A currency type and amount.
     * @param  ?\DateTimeInterface  $groupBeginDate
     * @param  ?\DateTimeInterface  $groupEndDate
     */
    public function __construct(
        public readonly ?Currency $recoveryAmount = null,
        public readonly ?Currency $originalAmount = null,
        public readonly ?\DateTimeInterface $groupBeginDate = null,
        public readonly ?\DateTimeInterface $groupEndDate = null,
    ) {}
}
