<?php

/**
 * Cart and Order Hooks Handler (Premium)
 * 
 * @package cwpt
 * @since 1.0.0
 */
defined( 'ABSPATH' ) or die;
class CWPT_Cart_Order {
    /**
     * Save fields to cart
     * 
     * @param array $cart_item_data
     * @param int $product_id
     * @return array
     */
    public static function save_to_cart( $cart_item_data, $product_id ) {
    }

    /**
     * Display fields in cart
     * 
     * @param array $item_data
     * @param array $cart_item
     * @return array
     */
    public static function display_in_cart( $item_data, $cart_item ) {
    }

    /**
     * Save fields to order
     * 
     * @param object $item
     * @param string $cart_item_key
     * @param array $values
     * @param object $order
     * @return void
     */
    public static function save_to_order(
        $item,
        $cart_item_key,
        $values,
        $order
    ) {
    }

    /**
     * Fetch booked days via AJAX
     * 
     * @return void
     */
    public static function fetch_booked_days() {
    }

    /**
     * Get product booked days
     * 
     * @param int $product_id
     * @param int $year
     * @param int $month
     * @return array
     */
    public static function get_product_booked_days( $product_id, $year, $month ) {
    }

}
