public string BatchUrl(BatchUrlType type)
 {
     switch (type)
     {
         case BatchUrlType.Cancel:
             return "/preapproval/cancel";
         default:
             return "/preapproval";
     }
 }
Exemplo n.º 2
0
        public string BatchUrl(BatchUrlType type)
        {
            switch (type)
            {
            case BatchUrlType.Cancel:
                return("/preapproval/cancel");

            default:
                return("/preapproval");
            }
        }
Exemplo n.º 3
0
 public string BatchUrl(BatchUrlType type)
 {
     if (type == BatchUrlType.Capture)
     {
         return("/checkout/capture");
     }
     else
     {
         return("/checkout");
     }
 }
        public string BatchUrl(BatchUrlType type)
        {
            switch (type)
            {
            case BatchUrlType.Delete:
                return("/credit_card/delete");

            case BatchUrlType.Authorize:
                return("/credit_card/authorize");

            default:
                return("/credit_card");
            }
        }
 public string BatchUrl(BatchUrlType type)
 {
     if (type == BatchUrlType.Capture) { return "/checkout/capture"; } else { return "/checkout"; }
 }