public TwoCheckoutResponse Reauth(SaleReauthServiceOptions options) { String Result = TwoCheckoutUtil.Request("api/sales/reauth", "POST", "admin", options); return TwoCheckoutUtil.MapToObject<TwoCheckoutResponse>(Result); }
public void _009_TestSaleReauth() { try { var ServiceObject = new SaleService(); var ArgsObject = new SaleReauthServiceOptions(); ArgsObject.sale_id = sale_id; var result = ServiceObject.Reauth(ArgsObject); Assert.IsInstanceOf<TwoCheckoutResponse>(result); } catch (TwoCheckoutException e) { Assert.IsInstanceOf<TwoCheckoutException>(e); } }
public TwoCheckoutResponse Reauth(SaleReauthServiceOptions options) { String Result = TwoCheckoutUtil.Request("api/sales/reauth", "POST", "admin", options); return(TwoCheckoutUtil.MapToObject <TwoCheckoutResponse>(Result)); }