newValue = $newValue; } /** * @return string */ public function getNewValue() { return $this->newValue; } /** * The old value of the changed resource or attribute. If empty, it means that * the product was created. Will have one of these values : (`approved`, * `pending`, `disapproved`, ``) * * @param string $oldValue */ public function setOldValue($oldValue) { $this->oldValue = $oldValue; } /** * @return string */ public function getOldValue() { return $this->oldValue; } /** * Countries that have the change (if applicable). Represented in the ISO 3166 * format. * * @param string $regionCode */ public function setRegionCode($regionCode) { $this->regionCode = $regionCode; } /** * @return string */ public function getRegionCode() { return $this->regionCode; } /** * Reporting contexts that have the change (if applicable). Currently this * field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, * `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum * value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/Repo * rtingContextEnum) * * Accepted values: REPORTING_CONTEXT_ENUM_UNSPECIFIED, SHOPPING_ADS, * DISCOVERY_ADS, DEMAND_GEN_ADS, DEMAND_GEN_ADS_DISCOVER_SURFACE, VIDEO_ADS, * DISPLAY_ADS, LOCAL_INVENTORY_ADS, VEHICLE_INVENTORY_ADS, FREE_LISTINGS, * FREE_LISTINGS_UCP_CHECKOUT, FREE_LOCAL_LISTINGS, * FREE_LOCAL_VEHICLE_LISTINGS, YOUTUBE_AFFILIATE, YOUTUBE_SHOPPING, * CLOUD_RETAIL, LOCAL_CLOUD_RETAIL, PRODUCT_REVIEWS, MERCHANT_REVIEWS, * YOUTUBE_CHECKOUT * * @param self::REPORTING_CONTEXT_* $reportingContext */ public function setReportingContext($reportingContext) { $this->reportingContext = $reportingContext; } /** * @return self::REPORTING_CONTEXT_* */ public function getReportingContext() { return $this->reportingContext; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProductChange::class, 'Google_Service_Merchant_ProductChange');