🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 14:24:10 | PHP 8.1.34
📂
/ (Root)
/
home
/
therahul
/
thedasstores.com
/
wp-content
/
plugins
/
google-listings-and-ads
/
src
/
Google
📍 /home/therahul/thedasstores.com/wp-content/plugins/google-listings-and-ads/src/Google
🔄 Refresh
✏️
Editing: DeleteCouponEntry.php
Writable
<?php declare(strict_types = 1); namespace Automattic\WooCommerce\GoogleListingsAndAds\Google; use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\Promotion as GooglePromotion; defined( 'ABSPATH' ) || exit(); /** * Class DeleteCouponEntry * * @package Automattic\WooCommerce\GoogleListingsAndAds\Google */ class DeleteCouponEntry { /** * * @var int */ protected $wc_coupon_id; /** * * @var GooglePromotion */ protected $google_promotion; /** * * @var array List of country to google promotion id mappings */ protected $synced_google_ids; /** * DeleteCouponEntry constructor. * * @param int $wc_coupon_id * @param GooglePromotion $google_promotion * @param array $synced_google_ids */ public function __construct( int $wc_coupon_id, GooglePromotion $google_promotion, array $synced_google_ids ) { $this->wc_coupon_id = $wc_coupon_id; $this->google_promotion = $google_promotion; $this->synced_google_ids = $synced_google_ids; } /** * * @return int */ public function get_wc_coupon_id(): int { return $this->wc_coupon_id; } /** * * @return GooglePromotion */ public function get_google_promotion(): GooglePromotion { return $this->google_promotion; } /** * * @return array */ public function get_synced_google_ids(): array { return $this->synced_google_ids; } }
💾 Save Changes
❌ Cancel