Class import_bookings
Bookings and Appointment Plugin for WooCommerce
Import Booking related functionalities handled in this class
Package: BKAP\Import-Booking
Category: Classes
Author: Tyche Softwares
Since: 3.6
Located at import-bookings.php
Category: Classes
Author: Tyche Softwares
Since: 3.6
Located at import-bookings.php
Methods summary
public static
|
#
bkap_map_imported_event( )
This function will map the imported calendar events to the product and generate the booking. |
public static
array
|
#
bkap_create_order( array $booking_details, boolean $gcal = false )
This function will map the imported calendar events to the product and generate the booking and create WooCommerce Order. |
public static
array
|
#
bkap_create_booking( array $booking_details, boolean $gcal = false )
This function will generate the booking and update the lockout for the product. |
public static
array
|
#
bkap_sanity_check( array $booking_data, boolean $gcal )
This function will validate if the give booking details is valid for creating the booking for the product or not. |
public static
array
|
#
bkap_quantity_setup( array $booking_data, array $sanity_check )
This function is to calculate the parent id and its data. |