Skip to content

Commit

Permalink
Merge pull request #17 from TheDragonCode/2.x
Browse files Browse the repository at this point in the history
[Cashier Provider] Added the ability to split queues by drivers
  • Loading branch information
Andrey Helldar authored Dec 14, 2021
2 parents ac9d369 + d3091f8 commit b1e07be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Cashier/Config/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

namespace DragonCode\Contracts\Cashier\Config;

use DragonCode\Contracts\Cashier\Config\Queues\Names;
use DragonCode\Contracts\DataTransferObject\DataTransferObject;

/** @method static Driver make(array $items = []) */
Expand All @@ -33,4 +34,6 @@ public function getDetails(): string;
public function getClientId(): ?string;

public function getClientSecret(): ?string;

public function getQueue(): Names;
}
3 changes: 3 additions & 0 deletions src/Cashier/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

namespace DragonCode\Contracts\Cashier;

use DragonCode\Contracts\Cashier\Config\Queues\Names;
use DragonCode\Contracts\Cashier\Helpers\Statuses;
use DragonCode\Contracts\Cashier\Http\Response;
use DragonCode\Contracts\Cashier\Resources\Details;
Expand All @@ -38,4 +39,6 @@ public function start(): Response;
public function check(): Response;

public function refund(): Response;

public function queue(): Names;
}

0 comments on commit b1e07be

Please sign in to comment.