propresenter-php/php/generated/Registration/Core/SubscriptionInfo.php
2026-03-01 16:12:17 +01:00

114 lines
3 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: registration.proto
namespace Registration\Core;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>registration.core.SubscriptionInfo</code>
*/
class SubscriptionInfo extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string organization_name = 1;</code>
*/
protected $organization_name = '';
/**
* Generated from protobuf field <code>.registration.core.ProContentLicenseType procontent_license_type = 2;</code>
*/
protected $procontent_license_type = 0;
/**
* Generated from protobuf field <code>int64 procontent_license_expiration = 3;</code>
*/
protected $procontent_license_expiration = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $organization_name
* @type int $procontent_license_type
* @type int|string $procontent_license_expiration
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string organization_name = 1;</code>
* @return string
*/
public function getOrganizationName()
{
return $this->organization_name;
}
/**
* Generated from protobuf field <code>string organization_name = 1;</code>
* @param string $var
* @return $this
*/
public function setOrganizationName($var)
{
GPBUtil::checkString($var, True);
$this->organization_name = $var;
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.ProContentLicenseType procontent_license_type = 2;</code>
* @return int
*/
public function getProcontentLicenseType()
{
return $this->procontent_license_type;
}
/**
* Generated from protobuf field <code>.registration.core.ProContentLicenseType procontent_license_type = 2;</code>
* @param int $var
* @return $this
*/
public function setProcontentLicenseType($var)
{
GPBUtil::checkEnum($var, \Registration\Core\ProContentLicenseType::class);
$this->procontent_license_type = $var;
return $this;
}
/**
* Generated from protobuf field <code>int64 procontent_license_expiration = 3;</code>
* @return int|string
*/
public function getProcontentLicenseExpiration()
{
return $this->procontent_license_expiration;
}
/**
* Generated from protobuf field <code>int64 procontent_license_expiration = 3;</code>
* @param int|string $var
* @return $this
*/
public function setProcontentLicenseExpiration($var)
{
GPBUtil::checkInt64($var);
$this->procontent_license_expiration = $var;
return $this;
}
}