diff --git a/src/Rules/BAAS/Billet.php b/src/Rules/BAAS/Billet.php index ccc64c9..c5ebcd9 100644 --- a/src/Rules/BAAS/Billet.php +++ b/src/Rules/BAAS/Billet.php @@ -8,11 +8,9 @@ public static function rules(): array { return [ 'externalId' => ['required'], - 'merchantCategoryCode' => ['sometimes', 'required'], 'expirationAfterPayment' => ['required', 'numeric', 'min:1'], 'dueDate' => ['required', 'date', 'after:yesterday'], 'amount' => ['required', 'decimal:0,2'], - 'key' => ['required'], 'debtor' => ['required', 'array'], 'debtor.name' => ['required', 'string', 'max: 25'], 'debtor.document' => ['required'], diff --git a/src/Types/BAAS/Billet.php b/src/Types/BAAS/Billet.php index de145e9..02b168c 100644 --- a/src/Types/BAAS/Billet.php +++ b/src/Types/BAAS/Billet.php @@ -7,11 +7,9 @@ class Billet extends Data { public string $externalId; - public ?string $merchantCategoryCode; public int $expirationAfterPayment; public string $dueDate; public float $amount; - public ?string $key; /** * @var BilletDebtor */ diff --git a/tests/Integration/BAAS/CelcoinBASSBilletTest.php b/tests/Integration/BAAS/CelcoinBASSBilletTest.php index 6c5def4..22fa50f 100644 --- a/tests/Integration/BAAS/CelcoinBASSBilletTest.php +++ b/tests/Integration/BAAS/CelcoinBASSBilletTest.php @@ -46,10 +46,8 @@ public static function billetBodyRequest(): Billet return new Billet([ "externalId" => "externalId1", "expirationAfterPayment" => 1, - "merchantCatagoryCode" => "0000", "dueDate" => now()->format('Y-m-d'), "amount" => 12.5, - "key" => "testepix@celcoin.com.br", "debtor" => new BilletDebtor([ "name" => "João teste de teste", "document" => "12345678910",