Class PostalAddress
public class PostalAddress
- Inheritance
-
PostalAddress
- Inherited Members
Constructors
PostalAddress()
public PostalAddress()
PostalAddress(PostalAddress)
public PostalAddress(PostalAddress address)
Parameters
address
PostalAddress
Properties
AddressLine1
public string? AddressLine1 { get; set; }
Property Value
AddressLine2
public string? AddressLine2 { get; set; }
Property Value
City
public string? City { get; set; }
Property Value
CompanyName
public string? CompanyName { get; set; }
Property Value
Country
public string? Country { get; set; }
Property Value
FirstName
public string? FirstName { get; set; }
Property Value
LastName
public string? LastName { get; set; }
Property Value
PostCode
[RegularExpression("([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9][A-Za-z]?))))\\s?[0-9][A-Za-z]{2})")]
public string? PostCode { get; set; }
Property Value
Telephone
public string? Telephone { get; set; }
Property Value
Methods
Apply(IMember)
Apply saved values from a member to this postal address (only if the relevant field has not yet been populated on this instance).
public void Apply(IMember user)
Parameters
user
IMember