registration.core.SubscriptionInfo */ class SubscriptionInfo extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string organization_name = 1; */ protected $organization_name = ''; /** * Generated from protobuf field .registration.core.ProContentLicenseType procontent_license_type = 2; */ protected $procontent_license_type = 0; /** * Generated from protobuf field int64 procontent_license_expiration = 3; */ 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 string organization_name = 1; * @return string */ public function getOrganizationName() { return $this->organization_name; } /** * Generated from protobuf field string organization_name = 1; * @param string $var * @return $this */ public function setOrganizationName($var) { GPBUtil::checkString($var, True); $this->organization_name = $var; return $this; } /** * Generated from protobuf field .registration.core.ProContentLicenseType procontent_license_type = 2; * @return int */ public function getProcontentLicenseType() { return $this->procontent_license_type; } /** * Generated from protobuf field .registration.core.ProContentLicenseType procontent_license_type = 2; * @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 int64 procontent_license_expiration = 3; * @return int|string */ public function getProcontentLicenseExpiration() { return $this->procontent_license_expiration; } /** * Generated from protobuf field int64 procontent_license_expiration = 3; * @param int|string $var * @return $this */ public function setProcontentLicenseExpiration($var) { GPBUtil::checkInt64($var); $this->procontent_license_expiration = $var; return $this; } }