// RB2 Core Connect namespace CoreConnect.Commerce.Customer;public record SignUpRequest{ private string? _birthDate; public SignUpRequest(string firstName, string lastName, string email, string password, string? anonymousId, string? cartId) { FirstName = firstName; LastName = lastName; Email = email; Password = password; AnonymousId = anonymousId; CartId = cartId; } public string? AnonymousId { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string? CompanyName { get; set; } public string? VatNumber { get; set; } public string Email { get; set; } public string Password { get; set; } public string? Phone { get; set; } public string? BirthDate { get => _birthDate; set { if (!string.IsNullOrEmpty(value)) { DateTime.ParseExact(value, "yyyy-MM-dd", System.Globalization.DateTimeFormatInfo.InvariantInfo); _birthDate = value; } } } public Address? Address { get; set; } public string? CartId { get; set; } public string? Gender { get; set; } public bool? RegisterAsGuest { get; set; }}