Файловый менеджер - Редактировать - /home/harasnat/www/horse/wp-content/plugins/google-listings-and-ads/src/Google/DeleteCouponEntry.php
Назад
<?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; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка