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

namespace Google\Ads\GoogleAds\V23\Resources;

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

/**
 * The identifier for Merchant Center Account.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.resources.MerchantCenterLinkInvitationIdentifier</code>
 */
class MerchantCenterLinkInvitationIdentifier extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The Merchant Center id of the Merchant account.
     * This field is read only
     *
     * Generated from protobuf field <code>int64 merchant_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $merchant_center_id = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $merchant_center_id
     *           Output only. The Merchant Center id of the Merchant account.
     *           This field is read only
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Resources\ProductLinkInvitation::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The Merchant Center id of the Merchant account.
     * This field is read only
     *
     * Generated from protobuf field <code>int64 merchant_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int|string
     */
    public function getMerchantCenterId()
    {
        return $this->merchant_center_id;
    }

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

        return $this;
    }

}

