<?php
namespace Maatwebsite\Excel\Mixins;
use Illuminate\Database\Eloquent\Model;
use Maatwebsite\Excel\Concerns\Importable;
use Maatwebsite\Excel\Concerns\ToModel;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
class ImportMacro
{
public function __invoke()
{
return function (string $filename, string $disk = null, string $readerType = null) {
$import = new class(get_class($this->getModel())) implements ToModel, WithHeadingRow
{
use Importable;
/**
* @var string
*/
private $model;
/**
* @param string $model
*/
public function __construct(string $model)
{
$this->model = $model;
}
/**
* @param array $row
* @return Model|Model[]|null
*/
public function model(array $row)
{
return (new $this->model)->fill($row);
}
};
return $import->import($filename, $disk, $readerType);
};
}
}
Welcome to the Kueue Pay Payment Gateway Solutions Developer API Documentation. This comprehensive guide will empower you to seamlessly integrate our advanced payment gateway into your website, enhancing your customers’ payment experience and enabling efficient transaction processing. The Kueue Pay Developer API is designed for developers and entrepreneurs who seek simplicity, security, and reliability in their payment processing solutions.
The Kueue Pay Developer API allows you to seamlessly integrate Kueue Pay’s Payment Gateway Solutions into your website, enabling secure and efficient debit and credit card transactions. With our API, you can initiate payments, check payment statuses, and even process refunds, all while ensuring a smooth and streamlined payment experience for your customers.