Ejemplo n.º 1
0
 public void _006_TestOptionDelete()
 {
     var ServiceObject = new OptionService();
     var ArgsObject = new OptionDeleteServiceOptions();
     ArgsObject.option_id = option_id;
     var result = ServiceObject.Delete(ArgsObject);
     Assert.IsInstanceOf<TwoCheckoutResponse>(result);
 }
        public TwoCheckoutResponse Delete(OptionDeleteServiceOptions options = null)
        {
            String Result = TwoCheckoutUtil.Request("api/products/delete_option", "POST", "admin", options);

            return(TwoCheckoutUtil.MapToObject <TwoCheckoutResponse>(Result));
        }
Ejemplo n.º 3
0
 public TwoCheckoutResponse Delete(OptionDeleteServiceOptions options = null)
 {
     String Result = TwoCheckoutUtil.Request("api/products/delete_option", "POST", "admin", options);
     return TwoCheckoutUtil.MapToObject<TwoCheckoutResponse>(Result);
 }