Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • Deposits-for-WooCommerce
    • Bookings
    • Cart
    • Order
    • Other
    • Payment-Plans
      • Views
    • Products
    • Settings

Classes

  • DFW_Deposits_For_Bookings

Class DFW_Deposits_For_Bookings

Manage Bookings with Deposits

Package: Deposits-for-WooCommerce\Bookings
Category: Classes
Author: Tyche Softwares
Since: 1.0
Located at includes/class-dfw-deposits-for-bookings.php

Methods summary

public
# __construct( )

Constructor function which adds a hook from the Booking plugin

Constructor function which adds a hook from the Booking plugin

Since

1.2
public static
# dfw_add_ajax_for_bookings( )

Display options if start date is selected

Display options if start date is selected

Since

1.2
public
# dfw_get_booking_date( DateTime $booking_date, integer $post_id, $addon_data )

Get the booking date

Get the booking date

Parameters

$booking_date
Selected Booking date
$post_id
Product ID
$addon_data

Since

1.2

Hook

bkap_js
public static
# dfw_disable_deposits( DateTime $booking_date, integer $post_id )

Disable deposits if booking date is before the specified period

Disable deposits if booking date is before the specified period

Parameters

$booking_date
Selected Booking date
$post_id
Product ID

Since

1.2
public static
# dfw_get_start_date( )

Get the selected start date

Get the selected start date

Since

1.2
API documentation generated by ApiGen