Exemple #1
0
        private static string GetCustomerClassificationCode(UpsCustomerClassification customerClassification)
        {
            switch (customerClassification)
            {
            case UpsCustomerClassification.Wholesale:
                return("01");

            case UpsCustomerClassification.Occasional:
                return("03");

            case UpsCustomerClassification.Retail:
                return("04");

            default:
                return(string.Empty);
            }
        }
Exemple #2
0
 private static string GetCustomerClassificationCode(UpsCustomerClassification customerClassification)
 {
     switch (customerClassification)
     {
         case UpsCustomerClassification.Wholesale:
             return "01";
         case UpsCustomerClassification.Occasional:
             return "03";
         case UpsCustomerClassification.Retail:
             return "04";
         default:
             return string.Empty;
     }
 }