public TwoCheckoutResponse Reauth(SaleReauthServiceOptions options)
 {
     String Result = TwoCheckoutUtil.Request("api/sales/reauth", "POST", "admin", options);
     return TwoCheckoutUtil.MapToObject<TwoCheckoutResponse>(Result);
 }
示例#2
0
 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);
     }
 }
示例#3
0
        public TwoCheckoutResponse Reauth(SaleReauthServiceOptions options)
        {
            String Result = TwoCheckoutUtil.Request("api/sales/reauth", "POST", "admin", options);

            return(TwoCheckoutUtil.MapToObject <TwoCheckoutResponse>(Result));
        }