コード例 #1
0
 public override HttpResponseMessage Execute(PaymentRequest request)
 {
     logger.InfoWithMetadata(new Dictionary <string, string> {
         { "PaymentId", request.PaymentId }, { "Message", "Iniciando a execução da transação de consulta" }, { "Body", this.Body }, { "Url", this.Url }
     });
     return(httpWrapper.Get(this.Credentials, this.Header, this.Body, this.Url));
 }
コード例 #2
0
 public string SendRequest(string token, string resource)
 {
     return(_httpWrapper.Get(resource, new Dictionary <string, string> {
         { "Authorization", "GoogleLogin auth=" + token }
     }));
 }