/home/kueuepay/public_html/vendor/spatie/laravel-ignition/src/Support/SentReports.php
<?php

namespace Spatie\LaravelIgnition\Support;

use Illuminate\Support\Arr;
use Spatie\FlareClient\Report;

class SentReports
{
    /** @var array<int, Report> */
    protected array $reports = [];

    public function add(Report $report): self
    {
        $this->reports[] = $report;

        return $this;
    }

    /**  @return array<int, Report> */
    public function all(): array
    {
        return $this->reports;
    }

    /** @return array<int, string> */
    public function uuids(): array
    {
        return array_map(fn (Report $report) => $report->trackingUuid(), $this->reports);
    }

    /** @return array<int, string> */
    public function urls(): array
    {
        return array_map(function (string $trackingUuid) {
            return "https://flareapp.io/tracked-occurrence/{$trackingUuid}";
        }, $this->uuids());
    }

    public function latestUuid(): ?string
    {
        return Arr::last($this->reports)?->trackingUuid();
    }

    public function latestUrl(): ?string
    {
        return Arr::last($this->urls());
    }

    public function clear(): void
    {
        $this->reports = [];
    }
}
Authentication

Authentication

To access the Kueue Pay Developer API, you’ll need an API key. You can obtain your API key by logging in to your Kueue Pay merchant account and navigating to the API section. Collect Client ID , Secret ID & Merchant ID Carefully. Keep your API key confidential and do not share it publicly.

If you don't have any merchant account please Register to continue