public TwoCheckoutResponse Delete(ProductDeleteServiceOptions options = null) { String Result = TwoCheckoutUtil.Request("api/products/delete_product", "POST", "admin", options); return TwoCheckoutUtil.MapToObject<TwoCheckoutResponse>(Result); }
public TwoCheckoutResponse Delete(ProductDeleteServiceOptions options = null) { string Result = TwoCheckoutUtil.Request("api/products/delete_product", "POST", "admin", options); return(TwoCheckoutUtil.MapToObject <TwoCheckoutResponse>(Result)); }
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); }