diff --git a/src/Celcoin.php b/src/Celcoin.php index 7f3e7d4..60cd848 100644 --- a/src/Celcoin.php +++ b/src/Celcoin.php @@ -15,6 +15,7 @@ use WeDevBr\Celcoin\Clients\CelcoinDDAUser; use WeDevBr\Celcoin\Clients\CelcoinDDAWebhooks; use WeDevBr\Celcoin\Clients\CelcoinElectronicTransactions; +use WeDevBr\Celcoin\Clients\CelcoinInternationalTopups; use WeDevBr\Celcoin\Clients\CelcoinKyc; use WeDevBr\Celcoin\Clients\CelcoinPIXCOB; use WeDevBr\Celcoin\Clients\CelcoinPIXCOBV; @@ -169,4 +170,14 @@ public static function clientBAASBillet(): CelcoinBAASBillet { return new CelcoinBAASBillet(); } + + public static function clientBAASWebhook(): CelcoinBAASWebhooks + { + return new CelcoinBAASWebhooks(); + } + + public static function clientInternationalTopup(): CelcoinInternationalTopups + { + return new CelcoinInternationalTopups(); + } } diff --git a/src/Facades/CelcoinFacade.php b/src/Facades/CelcoinFacade.php index cae4eeb..049acda 100644 --- a/src/Facades/CelcoinFacade.php +++ b/src/Facades/CelcoinFacade.php @@ -31,6 +31,10 @@ * @uses Celcoin::clientPIXReverse * @uses Celcoin::clientPixWebhooks * @uses Celcoin::clientKyc + * @uses Celcoin::clientBAASWebhook + * @uses Celcoin::clientInternationalTopup + * @uses Celcoin::clientBAASBillPayment + * @uses Celcoin::clientBAASBillet */ class CelcoinFacade extends Facade { diff --git a/tests/Feature/CelcoinClientInstancesTest.php b/tests/Feature/CelcoinClientInstancesTest.php index 64d2025..847b456 100644 --- a/tests/Feature/CelcoinClientInstancesTest.php +++ b/tests/Feature/CelcoinClientInstancesTest.php @@ -160,4 +160,10 @@ public function testSuccessCreateBaasBillPayment() $instance = Celcoin::clientBAASBillPayment(); $this->assertInstanceOf(CelcoinBAASBillPayment::class, $instance); } + + public function testSuccessCreteBaasWebhooks() + { + $instance = Celcoin::clientBAASWebhooks(); + $this->assertInstanceOf(CelcoinBAASWebhooks::class, $instance); + } }