public TwoCheckoutResponse Delete(ProductDeleteServiceOptions options = null)
 {
     String Result = TwoCheckoutUtil.Request("api/products/delete_product", "POST", "admin", options);
     return TwoCheckoutUtil.MapToObject<TwoCheckoutResponse>(Result);
 }
Пример #2
0
        public TwoCheckoutResponse Delete(ProductDeleteServiceOptions options = null)
        {
            string Result = TwoCheckoutUtil.Request("api/products/delete_product", "POST", "admin", options);

            return(TwoCheckoutUtil.MapToObject <TwoCheckoutResponse>(Result));
        }
Пример #3
0
 public void _006_TestProductDelete()
 {
     var ServiceObject = new ProductService();
     var ArgsObject = new ProductDeleteServiceOptions();
     ArgsObject.product_id = product_id;
     var result = ServiceObject.Delete(ArgsObject);
     Assert.IsInstanceOf<TwoCheckoutResponse>(result);
 }