<?php
namespace Database\Factories\Admin;
use App\Models\Admin\Currency;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Admin\Currency>
*/
class CurrencyFactory extends Factory
{
protected $model = Currency::class;
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition()
{
return [
'country' => $this->faker->country,
'name' => "-",
'code' => $this->faker->currencyCode(),
'symbol' => "-",
'admin_id' => 1,
'type' => "FIAT",
'rate' => 1.00,
];
}
}
Kueue Pay API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of 200 OK, while various error conditions will be represented by different status codes along with error messages in the response body.