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