Beispiel #1
0
 public void BuildMarkerStatusForCustomerAddress(CustomerAddress current, CustomerAddress ebaySeller, CustomerAddress payPal)
 {
     payPal     = payPal ?? new CustomerAddress();
     ebaySeller = ebaySeller ?? new CustomerAddress();
     current    = current ?? new CustomerAddress();
     Line1      = GetTypeStatusForColums(ebaySeller.Line1, current.Line1, payPal.Line1);
     Line2      = GetTypeStatusForColums(ebaySeller.Line2, current.Line2, payPal.Line2);
     Town       = GetTypeStatusForColums(ebaySeller.Town, current.Town, payPal.Town);
     County     = GetTypeStatusForColums(ebaySeller.County, current.County, payPal.County);
     Country    = GetTypeStatusForCountry(ebaySeller.Country, current.Country, payPal.Country);
     Postcode   = GetTypeStatusForColums(ebaySeller.Postcode, current.Postcode, payPal.Postcode);
 }
Beispiel #2
0
        public CrossCheckTypeStatus GetStatusForFullName(CrossCheckTypeStatus statusFirstName, CrossCheckTypeStatus statusSurname)
        {
            if (statusFirstName == CrossCheckTypeStatus.Checked && statusSurname == CrossCheckTypeStatus.Checked)
            {
                return(CrossCheckTypeStatus.Checked);
            }
            if (statusFirstName == CrossCheckTypeStatus.NoChecked || statusSurname == CrossCheckTypeStatus.NoChecked)
            {
                return(CrossCheckTypeStatus.NoChecked);
            }

            return(CrossCheckTypeStatus.Empty);
        }
Beispiel #3
0
 public CrossCheckTypeStatus GetStatusDayTimePhone(string eBayDaytimePhone, string applicationDaytimePhone, string payPalDaytimePhone, CrossCheckTypeStatus defaultStatus)
 {
     if (applicationDaytimePhone != null)
     {
         applicationDaytimePhone = applicationDaytimePhone.Replace("+3", string.Empty);
     }
     return(GetTypeStatusForColums(eBayDaytimePhone, applicationDaytimePhone, payPalDaytimePhone));
 }