HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/HelperNotificationInterface.php.tar
wp-content/plugins/google-listings-and-ads/src/Jobs/Notifications/HelperNotificationInterface.php000064400000002714151552734130037455 0ustar00var/www/vhosts/uyarreklam.com.tr/httpdocs<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Jobs\Notifications;

defined( 'ABSPATH' ) || exit;

/**
 * Interface HelperNotificationInterface
 *
 * @since 2.8.0
 * @package Automattic\WooCommerce\GoogleListingsAndAds\Jobs\Notifications
 */
interface HelperNotificationInterface {

	/**
	 * Checks if the item can be processed based on the topic.
	 *
	 * @param WC_Product|WC_Coupon $item
	 *
	 * @return bool
	 */
	public function should_trigger_create_notification( $item ): bool;


	/**
	 * Indicates if the item ready for sending a delete Notification.
	 *
	 * @param WC_Product|WC_Coupon $item
	 *
	 * @return bool
	 */
	public function should_trigger_delete_notification( $item ): bool;

	/**
	 * Indicates if the item ready for sending an update Notification.
	 *
	 * @param WC_Product|WC_Coupon $item
	 *
	 * @return bool
	 */
	public function should_trigger_update_notification( $item ): bool;

	/**
	 * Marks the item as unsynced.
	 *
	 * @param WC_Product|WC_Coupon $item
	 *
	 * @return void
	 */
	public function mark_as_unsynced( $item ): void;

	/**
	 * Set the notification status for an item.
	 *
	 * @param WC_Product|WC_Coupon $item
	 * @param string               $status
	 *
	 * @return void
	 */
	public function set_notification_status( $item, $status ): void;

	/**
	 * Marks the item as notified.
	 *
	 * @param WC_Product|WC_Coupon $item
	 *
	 * @return void
	 */
	public function mark_as_notified( $item ): void;
}