EppLib.Entities.Contact.Contact C# (CSharp) Method

Contact() public method

public Contact ( string contactId, string fullName, string companyName, string city, string street1, string street2, string street3, string province, string postalCode, string countryCode, string email, Telephone voice, Telephone fax ) : System
contactId string
fullName string
companyName string
city string
street1 string
street2 string
street3 string
province string
postalCode string
countryCode string
email string
voice Telephone
fax Telephone
return System
        public Contact(string contactId, string fullName, string companyName, string city, string street1, string street2, string street3, string province, string postalCode, string countryCode, string email, Telephone voice, Telephone fax)
        {
            var postalAddress = new PostalAddress
            {
                City = city,
                Street1 = street1,
                Street2 = street2,
                Street3 = street3,
                StateProvince = province,
                PostalCode = postalCode,
                CountryCode = countryCode
            };

            PostalInfo = new PostalInfo
            {
                m_name = fullName,
                m_org = companyName,
                m_type = PostalAddressType.LOC,
                m_address = postalAddress
            };

            Email = email;
            Voice = voice;
            Fax = fax;
            Id = contactId;

        }

Same methods

Contact::Contact ( ) : System
Contact::Contact ( string contactId, string fullName, string companyName, string city, string streetAddress, string province, string postalCode, string countryCode, string email, Telephone voice, Telephone fax ) : System
Contact