﻿£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>
<?php
/**
 * This class solely exists to deal with the deprecated warnings on PHP 8.2+.
 *
 * In multiple places, the plugin dynamically adds properties on the instance
 * of the \WC_Order class, which is no longer supported on PHP 8.2+
 */

namespace WooCommerce\Square;

class WC_Order_Square extends \WC_Order {
	/**
	 * Holds the Square customer ID.
	 *
	 * @var string
	 */
	public $customer_id;

	/**
	 * Holds the Square customer ID. Same as $customer_id.
	 *
	 * @var string
	 */
	public $square_customer_id;

	/**
	 * Holds payment information on the order object.
	 *
	 * @var object
	 */
	public $payment;

	/**
	 * Holds order description.
	 *
	 * @var string
	 */
	public $description;

	/**
	 * Holds a combination of order number + retry count, should provide
	 * a unique value for each transaction attempt.
	 *
	 * @var string
	 */
	public $unique_transaction_ref;

	/**
	 * Holds Square order ID.
	 *
	 * @var string
	 */
	public $square_order_id;

	/**
	 * Holds plugin version number.
	 *
	 * @var string
	 */
	public $square_version;

	/**
	 * Holds order payment total.
	 *
	 * @var float
	 */
	public $payment_total;

	/**
	 * Holds capture transaction type information.
	 *
	 * @var object
	 */
	public $capture;

	/**
	 * Holds refund order information.
	 *
	 * @var object
	 */
	public $refund;

	/**
	 * Wrapper around wc_get_order().
	 *
	 * @since 4.3.1
	 *
	 * @param mixed $the_order Post object or post ID of the order.
	 *
	 * @return bool|WC_Order|WC_Order_Refund|WC_Order_Square
	 */
	public static function wc_get_order( $the_order ) {
		return \wc_get_order( $the_order );
	}
}
