示例#1
0
        public void CustomerUpdateWithCustomerParams()
        {
            CustomerParams input = JsonConvert.DeserializeObject<CustomerParams>(CustomerInput);
            CustomerResponse actualResponse = customer.Update("TN344YY67HH09KK", input);

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }
示例#2
0
        public void CustomerCreationWithCustomerParams()
        {
            CustomerParams input = JsonConvert.DeserializeObject<CustomerParams>(CustomerInput);
            CustomerResponse actualResponse = customer.Create(input);

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }
示例#3
0
        public void CustomerCreationWithHashParam()
        {
            Hashtable input = JsonConvert.DeserializeObject<Hashtable>(CustomerInput);

            CustomerResponse actualResponse = customer.Create(input);

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }
示例#4
0
        public void CustomerUpdateTest()
        {
            CustomerResponse actualResponse = customer.Update("TN344YY67HH09KK", "ABC company", "ABC site name");

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }
示例#5
0
        public void CustomerUpdateWithJsonParams()
        {
            CustomerResponse actualResponse = customer.Update("TN344YY67HH09KK", CustomerInput);

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }
示例#6
0
        public void CustomerCreationTest()
        {
            CustomerResponse actualResponse = customer.Create("ABC company", "ABC site name");

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }
示例#7
0
        public void CustomerCreationWithJsonParams()
        {
            CustomerResponse actualResponse = customer.Create(CustomerInput);

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }
示例#8
0
        public void GetCustomerByIdTest()
        {
            CustomerResponse actualResponse = customer.GetByCustomerId("TN344YY67HH09KK");

            CustomerCreationSuccessCheck(actualResponse.JsonResponse());
        }