Example #1
0
        private void SetZipCodeFromGcd()
        {
            string value = PrimaryBalanceInformation.GetGcdNodeValue(GcdDataValidator.CompanyZipCodeConcept);

            if (string.IsNullOrEmpty(value))
            {
                return;
            }

            _address.HomeAddress.ZipCode = value;
        }
Example #2
0
        private void SetCountryFromGcd()
        {
            string value = PrimaryBalanceInformation.GetGcdNodeValue(GcdDataValidator.CompanyCountryConcept);

            if (string.IsNullOrEmpty(value))
            {
                return;
            }

            _address.Country = value;
        }
Example #3
0
        private void SetStreetFromGcd()
        {
            string streetValue = PrimaryBalanceInformation.GetGcdNodeValue(GcdDataValidator.CompanyStreetConcept);

            if (string.IsNullOrEmpty(streetValue))
            {
                return;
            }

            string houseNoValue = PrimaryBalanceInformation.GetGcdNodeValue(GcdDataValidator.CompanyHouseNoConcept);

            if (!string.IsNullOrEmpty(houseNoValue))
            {
                streetValue += $" {houseNoValue}";
            }

            _address.HomeAddress.Street = streetValue;
        }