<?php

namespace App\Models\Payment;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class OnlinePaymentHistory extends Model
{
    use HasFactory;

    /**
     * Table name
     *
     * @var string
     */
    protected $table = 'online_payment_histories';

    /**
     * The attributes that are mass assignable.
     *
     * @var array<int, string>
     */
    protected $fillable = [
        'refunded_amount',
        'booking_number',
        'amount',
        'depositedAmount',
        'orderNumber',
        'description',
        'orderId',
        'cardholderName',
        'pan',
        'approvalCode',
        'expiration',
        'formUrl',
        'successUrl',
        'errorUrl',
        'api_client',
        'paymentStatus',
        'callbackStatus',
        'username',
        'online_paymantable_id',
        'online_paymantable_type',
    ];
}
