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

use SellingPartnerApi\Dto;

final class PiDetails extends Dto
{
    /**
     * @param  ?string  $encryptedAccountHolderName  A string with no white spaces.
     * @param  ?string  $paymentInstrumentId  A string with no white spaces.
     * @param  ?string  $tail  A string with digits
     * @param  ?ExpiryDate  $expiryDate  The expiration date of a card used for payment. If the payment instrument is not a card, the expiration date is null.
     * @param  ?string  $countryCode  A string with no white spaces.
     * @param  ?string[]  $defaultMarketplaces  A list of strings.
     * @param  ?string  $paymentInstrumentType  The payment instrument type.
     */
    public function __construct(
        public readonly ?string $encryptedAccountHolderName = null,
        public readonly ?string $paymentInstrumentId = null,
        public readonly ?string $tail = null,
        public readonly ?ExpiryDate $expiryDate = null,
        public readonly ?string $countryCode = null,
        public readonly ?array $defaultMarketplaces = null,
        public readonly ?string $paymentInstrumentType = null,
    ) {}
}
