<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v20/resources/recommendation.proto

namespace Google\Ads\GoogleAds\V20\Resources\Recommendation;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * The upgrade a Smart Shopping campaign to a Performance Max campaign
 * recommendation.
 *
 * Generated from protobuf message <code>google.ads.googleads.v20.resources.Recommendation.UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation</code>
 */
class UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. ID of Merchant Center account.
     *
     * Generated from protobuf field <code>int64 merchant_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $merchant_id = 0;
    /**
     * Output only. Country whose products from merchant's inventory should be
     * included.
     *
     * Generated from protobuf field <code>string sales_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $sales_country_code = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $merchant_id
     *           Output only. ID of Merchant Center account.
     *     @type string $sales_country_code
     *           Output only. Country whose products from merchant's inventory should be
     *           included.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V20\Resources\Recommendation::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. ID of Merchant Center account.
     *
     * Generated from protobuf field <code>int64 merchant_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int|string
     */
    public function getMerchantId()
    {
        return $this->merchant_id;
    }

    /**
     * Output only. ID of Merchant Center account.
     *
     * Generated from protobuf field <code>int64 merchant_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int|string $var
     * @return $this
     */
    public function setMerchantId($var)
    {
        GPBUtil::checkInt64($var);
        $this->merchant_id = $var;

        return $this;
    }

    /**
     * Output only. Country whose products from merchant's inventory should be
     * included.
     *
     * Generated from protobuf field <code>string sales_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getSalesCountryCode()
    {
        return $this->sales_country_code;
    }

    /**
     * Output only. Country whose products from merchant's inventory should be
     * included.
     *
     * Generated from protobuf field <code>string sales_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setSalesCountryCode($var)
    {
        GPBUtil::checkString($var, True);
        $this->sales_country_code = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation::class, \Google\Ads\GoogleAds\V20\Resources\Recommendation_UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation::class);

