<?php

namespace Yas\Ocbc\Models;

use Illuminate\Database\Eloquent\Model;
use Yas\Ocbc\Contracts\Transaction as TransactionContract;

class Transaction extends Model implements TransactionContract
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'ocbc_transaction';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'request_id',
        'customer_id',
        'cart_id',
        'order_id',
        'order_no',
        'channel_id',
        'payment_intent_request',
        'payment_intent_response',
        'payment_token',
        'client_secret',
        'amount',
        'status',
    ];
}