GetDefaultService() public static method

public static GetDefaultService ( ) : PagarMeService
return PagarMeService
Beispiel #1
0
        public CardHash(PagarMeService service)
        {
            if (service == null)
            {
                service = PagarMeService.GetDefaultService();
            }

            _service = service;
        }
Beispiel #2
0
        internal PagarMeRequest(PagarMeService service, string method, string path)
        {
            if (service == null)
            {
                service = PagarMeService.GetDefaultService();
            }

            _service = service;

            Method = method;
            Path   = path;

            Query = new List <Tuple <string, string> >();
            Body  = "{}";
        }