Пример #1
0
 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));
        }