Update to get an individual payment from intuit
This commit is contained in:
@@ -12,6 +12,7 @@ use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
use App\Models\{Account,Invoice,Payment,PaymentItem,ProviderToken};
|
||||
use Intuit\Models\Payment as PaymentModel;
|
||||
|
||||
/**
|
||||
* Synchronise payments with our payments.
|
||||
@@ -26,7 +27,7 @@ class AccountingPaymentSync implements ShouldQueue
|
||||
|
||||
private const LOGKEY = 'JPS';
|
||||
|
||||
private \Intuit\Models\Payment $pmi;
|
||||
private PaymentModel $pmi;
|
||||
private ProviderToken $to;
|
||||
|
||||
/**
|
||||
@@ -34,7 +35,7 @@ class AccountingPaymentSync implements ShouldQueue
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(ProviderToken $to,\Intuit\Models\Payment $pmi)
|
||||
public function __construct(ProviderToken $to,PaymentModel $pmi)
|
||||
{
|
||||
$this->pmi = $pmi;
|
||||
$this->to = $to;
|
||||
|
Reference in New Issue
Block a user