From 64335aba3248725b9b4c783f840204ba734395c4 Mon Sep 17 00:00:00 2001 From: M3ndes Date: Tue, 7 Dec 2021 17:03:37 -0300 Subject: [PATCH] :bug: added created to transaction status --- src/Kernel/ValueObjects/TransactionStatus.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Kernel/ValueObjects/TransactionStatus.php b/src/Kernel/ValueObjects/TransactionStatus.php index 3cb7d81..b240958 100644 --- a/src/Kernel/ValueObjects/TransactionStatus.php +++ b/src/Kernel/ValueObjects/TransactionStatus.php @@ -27,6 +27,7 @@ final class TransactionStatus extends AbstractValueObject const PENDING_REVIEW = 'pending_review'; const ANALYZING = 'analyzing'; const WAITING_CAPTURE = 'waiting_capture'; + const CREATED = 'created'; /** * @@ -144,6 +145,10 @@ public static function waitingCapture() return new self(self::WAITING_CAPTURE); } + public static function created() + { + return new self(self::CREATED); + } /** *