activationReason = $activationReason; } /** * @return self::ACTIVATION_REASON_* */ public function getActivationReason() { return $this->activationReason; } /** * Cancellation reason for the Entitlement. * * Accepted values: CANCELLATION_REASON_UNSPECIFIED, SERVICE_TERMINATED, * RELATIONSHIP_ENDED, PARTIAL_TRANSFER * * @param self::CANCELLATION_REASON_* $cancellationReason */ public function setCancellationReason($cancellationReason) { $this->cancellationReason = $cancellationReason; } /** * @return self::CANCELLATION_REASON_* */ public function getCancellationReason() { return $this->cancellationReason; } /** * The change action type. * * Accepted values: CHANGE_TYPE_UNSPECIFIED, CREATED, PRICE_PLAN_SWITCHED, * COMMITMENT_CHANGED, RENEWED, SUSPENDED, ACTIVATED, CANCELLED, SKU_CHANGED, * RENEWAL_SETTING_CHANGED, PAID_SUBSCRIPTION_STARTED, LICENSE_CAP_CHANGED, * SUSPENSION_DETAILS_CHANGED, TRIAL_END_DATE_EXTENDED, TRIAL_STARTED * * @param self::CHANGE_TYPE_* $changeType */ public function setChangeType($changeType) { $this->changeType = $changeType; } /** * @return self::CHANGE_TYPE_* */ public function getChangeType() { return $this->changeType; } /** * The submitted time of the change. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Required. Resource name of an entitlement in the form: * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} * * @param string $entitlement */ public function setEntitlement($entitlement) { $this->entitlement = $entitlement; } /** * @return string */ public function getEntitlement() { return $this->entitlement; } /** * Required. Resource name of the Offer at the time of change. Takes the form: * accounts/{account_id}/offers/{offer_id}. * * @param string $offer */ public function setOffer($offer) { $this->offer = $offer; } /** * @return string */ public function getOffer() { return $this->offer; } /** * Human-readable identifier that shows what operator made a change. When the * operator_type is RESELLER, this is the user's email address. For all other * operator types, this is empty. * * @param string $operator */ public function setOperator($operator) { $this->operator = $operator; } /** * @return string */ public function getOperator() { return $this->operator; } /** * Operator type responsible for the change. * * Accepted values: OPERATOR_TYPE_UNSPECIFIED, * CUSTOMER_SERVICE_REPRESENTATIVE, SYSTEM, CUSTOMER, RESELLER * * @param self::OPERATOR_TYPE_* $operatorType */ public function setOperatorType($operatorType) { $this->operatorType = $operatorType; } /** * @return self::OPERATOR_TYPE_* */ public function getOperatorType() { return $this->operatorType; } /** * e.g. purchase_number change reason, entered by CRS. * * @param string $otherChangeReason */ public function setOtherChangeReason($otherChangeReason) { $this->otherChangeReason = $otherChangeReason; } /** * @return string */ public function getOtherChangeReason() { return $this->otherChangeReason; } /** * Extended parameters, such as: purchase_order_number, gcp_details; * internal_correlation_id, long_running_operation_id, order_id; etc. * * @param GoogleCloudChannelV1Parameter[] $parameters */ public function setParameters($parameters) { $this->parameters = $parameters; } /** * @return GoogleCloudChannelV1Parameter[] */ public function getParameters() { return $this->parameters; } /** * Service provisioned for an Entitlement. * * @param GoogleCloudChannelV1ProvisionedService $provisionedService */ public function setProvisionedService(GoogleCloudChannelV1ProvisionedService $provisionedService) { $this->provisionedService = $provisionedService; } /** * @return GoogleCloudChannelV1ProvisionedService */ public function getProvisionedService() { return $this->provisionedService; } /** * Suspension reason for the Entitlement. * * Accepted values: SUSPENSION_REASON_UNSPECIFIED, RESELLER_INITIATED, * TRIAL_ENDED, RENEWAL_WITH_TYPE_CANCEL, PENDING_TOS_ACCEPTANCE, OTHER * * @param self::SUSPENSION_REASON_* $suspensionReason */ public function setSuspensionReason($suspensionReason) { $this->suspensionReason = $suspensionReason; } /** * @return self::SUSPENSION_REASON_* */ public function getSuspensionReason() { return $this->suspensionReason; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudChannelV1EntitlementChange::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1EntitlementChange');