// use Apoloz\AlfaBank\Data\PaginationData; // This import might be misleading for a single DTO, but kept for context consistency. use Spatie\LaravelData\Attributes\DataCollectionOf; use Spatie\LaravelData\Data; // //
// class BeneficiaryData extends Data { //
// public function __construct( public string $beneficiaryId, public string $type, public ?array $personalInformation = null, // Could be PersonalInformationData DTO public ?string $inn = null, public ?string $firstName = null, public ?string $lastName = null, public ?string $middleName = null, public ?string $name = null, public ?string $countryOfTaxResidence = null, public ?string $phoneNumber = null, public ?string $email = null, public ?array $addresses = null, // Could be DataCollectionOf(AddressData::class) public ?array $documents = null, // Could be DataCollectionOf(DocumentData::class) public ?bool $isActive = null, public ?array $balances = null, // Could be DataCollectionOf(WalletBalanceData::class) public ?bool $isBeneficiary = null, public ?bool $isVpr = null, ) {} //
}