Class BKAP_Booking
Bookings and Appointment Plugin for WooCommerce
Class for booking posts, this handles all the data
Package: BKAP\Core
Category: Classes
Author: Tyche Softwares
Class: BKAP_Booking
Located at includes/class-bkap-booking.php
Category: Classes
Author: Tyche Softwares
Class: BKAP_Booking
Located at includes/class-bkap-booking.php
Methods summary
public
|
#
__construct( int/array/obj $booking_data = false )
Constructor, possibly sets up with post or id belonging to existing booking or supplied with an array to construct a new booking |
public
boolean
|
#
populate_data( integer $booking_id )
Populate the data with the id of the booking provided. Will query for the post belonging to this booking and store it |
public
|
|
public
Id
|
|
public
String
|
|
public
boolean
|
|
public
Order
|
|
public
integer
|
|
public
integer
|
|
public
Product
|
|
public
Product
|
|
public
Order
|
|
public
Customer
|
|
public
Start
|
|
public
End
|
|
public
Time
|
|
public
Date
|
|
public
Date
|
|
public
Start
|
|
public
Start
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
string
|
Properties summary
public
|
$id
|
|
public
|
$booking_date
|
|
public
|
$start
|
|
public
|
$end
|
|
public
|
$all_day
|
|
public
|
$modified_date
|
|
public
|
$post
|
|
public
|
$product_id
|
|
public
|
$product
|
|
public
|
$order_id
|
|
public
|
$order
|
|
public
|
$customer_id
|
|
public
|
$status
|
|
public
|
$gcal_event_uid
|
|
public
|
$custom_fields
|
|
public
|
$populated
|