invoiceninja/app/PaymentDrivers/StripeConnectPaymentDriver.php

27 lines
662 B
PHP
Raw Permalink Normal View History

2021-04-12 20:11:08 +10:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
2023-01-29 09:21:40 +11:00
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
2021-04-12 20:11:08 +10:00
*
2021-06-16 16:58:16 +10:00
* @license https://www.elastic.co/licensing/elastic-license
2021-04-12 20:11:08 +10:00
*/
namespace App\PaymentDrivers;
2021-05-11 21:19:44 +10:00
use App\Models\Client;
2021-05-11 21:04:32 +10:00
use App\Models\CompanyGateway;
2021-04-12 20:11:08 +10:00
2021-04-20 21:30:52 +10:00
class StripeConnectPaymentDriver extends StripePaymentDriver
2021-04-12 20:11:08 +10:00
{
2021-04-20 21:30:52 +10:00
public function __construct(CompanyGateway $company_gateway, Client $client = null, $invitation = false)
2021-04-12 20:11:08 +10:00
{
2021-04-20 21:30:52 +10:00
parent::__construct($company_gateway, $client, $invitation);
2021-04-12 20:11:08 +10:00
2021-04-20 21:30:52 +10:00
$this->stripe_connect = true;
2021-04-12 20:11:08 +10:00
}
}