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

namespace Google\Ads\GoogleAds\V23\Services;

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

/**
 * Response message for
 * [LocalServicesLeadService.ProvideLeadFeedback][google.ads.googleads.v23.services.LocalServicesLeadService.ProvideLeadFeedback].
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.ProvideLeadFeedbackResponse</code>
 */
class ProvideLeadFeedbackResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Decision of bonus credit issued or rejected. If a bonus credit is
     * issued, it will be available for use in about two months.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.enums.LocalServicesLeadCreditIssuanceDecisionEnum.CreditIssuanceDecision credit_issuance_decision = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $credit_issuance_decision = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $credit_issuance_decision
     *           Required. Decision of bonus credit issued or rejected. If a bonus credit is
     *           issued, it will be available for use in about two months.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\LocalServicesLeadService::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. Decision of bonus credit issued or rejected. If a bonus credit is
     * issued, it will be available for use in about two months.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.enums.LocalServicesLeadCreditIssuanceDecisionEnum.CreditIssuanceDecision credit_issuance_decision = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return int
     */
    public function getCreditIssuanceDecision()
    {
        return $this->credit_issuance_decision;
    }

    /**
     * Required. Decision of bonus credit issued or rejected. If a bonus credit is
     * issued, it will be available for use in about two months.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.enums.LocalServicesLeadCreditIssuanceDecisionEnum.CreditIssuanceDecision credit_issuance_decision = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param int $var
     * @return $this
     */
    public function setCreditIssuanceDecision($var)
    {
        GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V23\Enums\LocalServicesLeadCreditIssuanceDecisionEnum\CreditIssuanceDecision::class);
        $this->credit_issuance_decision = $var;

        return $this;
    }

}

