GetDefaultService() public static method

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

            _service = service;
        }
示例#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  = "{}";
        }