payment-model.php in Booktics – Appointment Booking Calendar for Service Businesses 1.0.0, at base/models/payment-model.php
| 1 | <?php |
| 2 | |
| 3 | namespace Booktics\Models; |
| 4 | |
| 5 | use Booktics\Abstracts\Model; |
| 6 | |
| 7 | /** |
| 8 | * Class PaymentModel |
| 9 | * |
| 10 | * Handles database operations for orders in the Booktics system. |
| 11 | * |
| 12 | * @package Booktics\Models |
| 13 | */ |
| 14 | class Payment_Model extends Model { |
| 15 | protected $table = 'booktics_payments'; |
| 16 | protected $fillable = [ |
| 17 | 'id', |
| 18 | 'order_id', |
| 19 | 'customer_id', |
| 20 | 'amount', |
| 21 | 'currency', |
| 22 | 'intent_id', |
| 23 | 'transaction_id', |
| 24 | 'status', |
| 25 | 'payment_method', |
| 26 | 'refunded_amount', |
| 27 | 'failure_reason', |
| 28 | 'date', |
| 29 | 'date_time', |
| 30 | ]; |
| 31 | } |