From b245961b5298214f794ea3c01940091439391165 Mon Sep 17 00:00:00 2001 From: cleitonalessandro Date: Wed, 8 Mar 2023 17:25:02 -0300 Subject: [PATCH] =?UTF-8?q?Retornar=20o=20codigo=20de=20autoriza=C3=A7?= =?UTF-8?q?=C3=A3o=20da=20transa=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A eRede está retornando o codigo de autorização na brand nesta atualização irá retornar corretamente --- src/Rede/Brand.php | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/Rede/Brand.php b/src/Rede/Brand.php index 29a97af..d10e961 100644 --- a/src/Rede/Brand.php +++ b/src/Rede/Brand.php @@ -19,7 +19,11 @@ class Brand * @var string|null */ private ?string $returnMessage = null; - + + /** + * @var string + */ + private $authorizationCode = null; /** * @return string|null */ @@ -73,4 +77,22 @@ public function setReturnMessage(?string $returnMessage): Brand $this->returnMessage = $returnMessage; return $this; } + /** + * @return string + */ + public function getAuthorizationCode() + { + return $this->authorizationCode; + } + + /** + * @param string $AuthorizationCode + * + * @return Brand + */ + public function setAuthorizationCode(string $returnMessage): Brand + { + $this->authorizationCode = $authorizationCode; + return $this; + } }