Skip to content

Commit

Permalink
ft: add in address details
Browse files Browse the repository at this point in the history
  • Loading branch information
Bolorunduro Winner-Timothy committed Jan 14, 2022
1 parent 3b08667 commit 43a66f3
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion vCardLib/Models/Address.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,29 @@

public struct Address
{

public string PostOfficeBox { get; set; }

public string ApartmentOrSuiteNumber { get; set; }

public string StreetAddress { get; set; }

public string CityOrLocality { get; set; }

public string StateOrProvinceOrRegion { get; set; }

public string PostalOrZipCode { get; set; }

public string Country { get; set; }

public Address(string postOfficeBox, string apartmentOrSuiteNumber, string streetAddress, string cityOrLocality,
string stateOrProvinceOrRegion, string postalOrZipCode, string country)
{
PostOfficeBox = postOfficeBox;
ApartmentOrSuiteNumber = apartmentOrSuiteNumber;
StreetAddress = streetAddress;
CityOrLocality = cityOrLocality;
StateOrProvinceOrRegion = stateOrProvinceOrRegion;
PostalOrZipCode = postalOrZipCode;
Country = country;
}
}

0 comments on commit 43a66f3

Please sign in to comment.