mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-12-08 04:55:30 -05:00
15 lines
414 B
PHP
15 lines
414 B
PHP
<?php
|
|
|
|
namespace App\Services\Import\Quickbooks\Contracts;
|
|
|
|
interface SdkInterface
|
|
{
|
|
function getAuthorizationUrl(): string;
|
|
function accessToken(string $code, string $realm): array;
|
|
function refreshToken(): array;
|
|
function getAccessToken(): array;
|
|
function getRefreshToken(): array;
|
|
function totalRecords(string $entity): int;
|
|
function fetchRecords(string $entity, int $max): array;
|
|
}
|