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

namespace Google\Ads\GoogleAds\V23\Common;

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

/**
 * QR code info to generate promotion QR code.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.common.PromotionQrCodeInfo</code>
 */
class PromotionQrCodeInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Promotion message to be encoded in the QR code.
     *
     * Generated from protobuf field <code>string qr_code_content = 1;</code>
     */
    protected $qr_code_content = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $qr_code_content
     *           Promotion message to be encoded in the QR code.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Common\AssetTypes::initOnce();
        parent::__construct($data);
    }

    /**
     * Promotion message to be encoded in the QR code.
     *
     * Generated from protobuf field <code>string qr_code_content = 1;</code>
     * @return string
     */
    public function getQrCodeContent()
    {
        return $this->qr_code_content;
    }

    /**
     * Promotion message to be encoded in the QR code.
     *
     * Generated from protobuf field <code>string qr_code_content = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setQrCodeContent($var)
    {
        GPBUtil::checkString($var, True);
        $this->qr_code_content = $var;

        return $this;
    }

}

