Files
tbbank-new/app/Modules/OnlinePayment/Models/OnlinePayment.php

47 lines
1.2 KiB
PHP

<?php
namespace App\Modules\OnlinePayment\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property string $refunded_amount
* @property string $booking_number
* @property string $amount
* @property string $depositedAmount
* @property string $orderNumber
* @property string $description
* @property string $orderId
* @property string $cardholderName
* @property string $pan
* @property string $approvalCode
* @property string $expiration
* @property string $formUrl
* @property string $successUrl
* @property string $errorUrl
* @property string $api_client
* @property string $paymentStatus
* @property string $callbackStatus
* @property string $username
* @property int $online_paymantable_id
* @property string $online_paymantable_type
* @property ?array $api_response
* @property \Illuminate\Support\Carbon $created_at
* @property \Illuminate\Support\Carbon $updated_at
*/
class OnlinePayment extends Model
{
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'api_response' => 'array',
];
}
}