<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TemporaryData extends Model
{
use HasFactory;
protected $table = "temporary_datas";
protected $guarded = ['id'];
protected $casts = [
'id' => 'integer',
'type' => 'string',
'identifier' => 'string',
'data' => 'object',
'created_at' => 'date:Y-m-d',
'updated_at' => 'date:Y-m-d',
];
public function scopeSearch($query,$token) {
return $query->where('identifier',$token);
}
}
Payment Accept
Our platform simplifies payment acceptance, making transaction management effortless. With secure processing and user-friendly tools, you can easily handle payments from credit cards, debit cards, and digital methods. Our intuitive interface is designed for efficiency, ensuring a seamless experience for both you and your customers. Manage your transactions with ease and confidence.