Ejemplo n.º 1
0
        internal static ICustomer GetRandom()
        {
            BusinessCustomer result = new()
            {
                CompanyName        = ComplexDataStructureUtilities.GetRandomName(),
                Website            = ComplexDataStructureUtilities.GetRandomWebsite(),
                ContactPhoneNumber = ComplexDataStructureUtilities.GetRandomPhoneNumber(),
                MainResidence      = Address.GetRandom()
            };

            return(result);
        }
Ejemplo n.º 2
0
        internal static ICustomer GetRandom()
        {
            PrivateCustomer result = new()
            {
                Forename           = ComplexDataStructureUtilities.GetRandomName(),
                Surname            = ComplexDataStructureUtilities.GetRandomName(),
                ContactPhoneNumber = ComplexDataStructureUtilities.GetRandomPhoneNumber(),
                MainResidence      = Address.GetRandom(),
                DateOfBirth        = ComplexDataStructureUtilities.GetRandomDateOfBirth()
            };

            return(result);
        }