Airport Guide Documentation

MozioCustomerReservationDetails extends Model
in package
uses HasFactory

Mozio Customer Reservation Details Model

This model manages customer reservation details for Mozio transport services. It stores payment information, confirmation details, passenger counts, and cancellation policies for transport reservations.

Table of Contents

Properties

$fillable  : array<string|int, string>
The attributes that are mass assignable.

Methods

__construct()  : void
Create a new MozioCustomerReservationDetails model instance.
transportReservation()  : BelongsTo
Get the transport reservation that this customer reservation belongs to.

Properties

$fillable

The attributes that are mass assignable.

protected array<string|int, string> $fillable = ['id', 'customer_id', 'reservation_id', 'amount_paid', 'confirmation_number', 'text_json', 'pickup_instructions', 'num_passengers', 'cancellable_offline', 'cancellable_online', 'created_at', 'updated_at', 'payment_intent_id']

Methods

__construct()

Create a new MozioCustomerReservationDetails model instance.

public __construct() : void

Sets the table name from configuration constants.

transportReservation()

Get the transport reservation that this customer reservation belongs to.

public transportReservation() : BelongsTo

Establishes a belongs-to relationship with MozioTransportReservation using customer_id as the foreign key.

Return values
BelongsTo

        
On this page

Search results