DisconnectFromSquareAccountCommand.php
1 year ago
DisconnectFromSquareAccountCommandHandler.php
1 year ago
FetchAccessTokenSquareCommand.php
1 year ago
FetchAccessTokenSquareCommandHandler.php
1 year ago
GetSquareAuthURLCommand.php
1 year ago
GetSquareAuthURLCommandHandler.php
1 year ago
SquarePaymentCommand.php
1 year ago
SquarePaymentCommandHandler.php
1 year ago
SquarePaymentNotifyCommand.php
1 year ago
SquarePaymentNotifyCommandHandler.php
1 year ago
SquareRefundWebhookCommand.php
1 year ago
SquareRefundWebhookCommandHandler.php
1 year ago
DisconnectFromSquareAccountCommand.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Application\Commands\Square; |
| 4 | |
| 5 | use AmeliaBooking\Application\Commands\Command; |
| 6 | |
| 7 | /** |
| 8 | * Class DisconnectFromSquareAccountCommand |
| 9 | * |
| 10 | * @package AmeliaBooking\Application\Commands\Square |
| 11 | */ |
| 12 | class DisconnectFromSquareAccountCommand extends Command |
| 13 | { |
| 14 | /** |
| 15 | * DisconnectFromSquareAccountCommand constructor. |
| 16 | * |
| 17 | * @param $args |
| 18 | */ |
| 19 | public function __construct($args) |
| 20 | { |
| 21 | parent::__construct($args); |
| 22 | if (isset($args['id'])) { |
| 23 | $this->setField('id', $args['id']); |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 |