From 0b996e7f92a9c184028feed87e322ea50693da79 Mon Sep 17 00:00:00 2001 From: jeanfuck Date: Wed, 16 Oct 2019 17:11:42 -0300 Subject: [PATCH 1/2] =?UTF-8?q?Fix=20-=20Adiciona=20tid=20da=20transa?= =?UTF-8?q?=C3=A7=C3=A3o=20para=20cancelamento?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eRede/eRede/Service/CancelTransactionService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eRede/eRede/Service/CancelTransactionService.cs b/eRede/eRede/Service/CancelTransactionService.cs index 7646129..9caa910 100644 --- a/eRede/eRede/Service/CancelTransactionService.cs +++ b/eRede/eRede/Service/CancelTransactionService.cs @@ -4,6 +4,7 @@ internal class CancelTransactionService : AbstractTransactionService { public CancelTransactionService(Store store, Transaction transaction) : base(store, transaction) { + this.tid = transaction?.tid; } protected override string getUri() @@ -11,4 +12,4 @@ protected override string getUri() return base.getUri() + "/" + tid + "/refunds"; } } -} \ No newline at end of file +} From 6d5aa854e18a4dfb790264d2be504002f794075e Mon Sep 17 00:00:00 2001 From: jeanfuck Date: Wed, 16 Oct 2019 17:12:55 -0300 Subject: [PATCH 2/2] =?UTF-8?q?=20Fix=20-=20Adiciona=20tid=20da=20transa?= =?UTF-8?q?=C3=A7=C3=A3o=20para=20captura?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eRede/eRede/Service/CaptureTransactionService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eRede/eRede/Service/CaptureTransactionService.cs b/eRede/eRede/Service/CaptureTransactionService.cs index 0a018c4..d6c85c1 100644 --- a/eRede/eRede/Service/CaptureTransactionService.cs +++ b/eRede/eRede/Service/CaptureTransactionService.cs @@ -6,6 +6,7 @@ internal class CaptureTransactionService : AbstractTransactionService { public CaptureTransactionService(Store store, Transaction transaction) : base(store, transaction) { + this.tid = transaction?.tid; } public TransactionResponse Execute() @@ -13,4 +14,4 @@ public TransactionResponse Execute() return base.Execute(Method.PUT); } } -} \ No newline at end of file +}