📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Cloudchannel
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 GoogleCloudChannelV1ActivateEntitlementRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1AdminUser.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1AssociationInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1BillableSku.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1BillingAccount.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1BillingAccountPurchaseInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CancelEntitlementRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ChangeOfferRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ChangeParametersRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ChangeRenewalSettingsRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ChannelPartnerLink.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ChannelPartnerRepricingConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CloudIdentityCustomerAccount.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CloudIdentityInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Column.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CommitmentSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ConditionalOverride.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Constraints.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ContactInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CreateEntitlementRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Customer.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CustomerConstraints.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CustomerEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1CustomerRepricingConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1DateRange.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1DiscountComponent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1EduData.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Entitlement.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1EntitlementChange.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1EntitlementEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1FetchReportResultsRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1FetchReportResultsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ImportCustomerRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListChannelPartnerLinksResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListCustomerRepricingConfigsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListCustomersResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListEntitlementChangesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListEntitlementsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListOffersResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListProductsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListPurchasableOffersResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListPurchasableSkusResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListReportsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListSkuGroupBillableSkusResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListSkuGroupsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListSkusResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListSubscribersResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListTransferableOffersRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListTransferableOffersResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListTransferableSkusRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ListTransferableSkusResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1MarketingInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Media.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Offer.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Parameter.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ParameterDefinition.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1PercentageAdjustment.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Period.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Plan.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Price.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1PriceByResource.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1PricePhase.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1PriceTier.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Product.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ProvisionCloudIdentityRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ProvisionedService.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1PurchasableOffer.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1PurchasableSku.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1QueryEligibleBillingAccountsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RegisterSubscriberRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RegisterSubscriberResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RenewalSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Report.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ReportJob.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ReportResultsMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ReportStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1ReportValue.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RepricingAdjustment.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RepricingCondition.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RepricingConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RepricingConfigEntitlementGranularity.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Row.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RunReportJobRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1RunReportJobResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Sku.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1SkuGroup.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1SkuGroupCondition.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1SkuPurchaseGroup.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1StartPaidServiceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1SubscriberEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1SuspendEntitlementRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1TransferEligibility.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1TransferEntitlementsRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1TransferEntitlementsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1TransferEntitlementsToGoogleRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1TransferableOffer.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1TransferableSku.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1TrialSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1UnregisterSubscriberRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1UnregisterSubscriberResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1UpdateChannelPartnerLinkRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1Value.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1AssociationInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1ChannelPartnerEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1Column.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1CommitmentSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1CustomerEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1DateRange.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1Entitlement.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1EntitlementEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1OpportunityEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1Parameter.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1Period.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1ProvisionedService.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1RenewalSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1Report.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1ReportJob.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1ReportResultsMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1ReportStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1RunReportJobResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1SubscriberEvent.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1TransferEntitlementsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1TrialSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudChannelV1alpha1Value.php
▶ Open 📄 View Source
🐘 GoogleLongrunningCancelOperationRequest.php
▶ Open 📄 View Source
🐘 GoogleLongrunningListOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source
🐘 GoogleTypeDate.php
▶ Open 📄 View Source
🐘 GoogleTypeDateTime.php
▶ Open 📄 View Source
🐘 GoogleTypeDecimal.php
▶ Open 📄 View Source
🐘 GoogleTypeMoney.php
▶ Open 📄 View Source
🐘 GoogleTypePostalAddress.php
▶ Open 📄 View Source
🐘 GoogleTypeTimeZone.php
▶ Open 📄 View Source

📄 Source: GoogleCloudChannelV1alpha1Entitlement.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Cloudchannel;

class GoogleCloudChannelV1alpha1Entitlement extends \Google\Collection
{
  /**
   * Not used.
   */
  public const PROVISIONING_STATE_PROVISIONING_STATE_UNSPECIFIED = 'PROVISIONING_STATE_UNSPECIFIED';
  /**
   * The entitlement is currently active.
   */
  public const PROVISIONING_STATE_ACTIVE = 'ACTIVE';
  /**
   * The entitlement was canceled. After an entitlement is `CANCELED`, its
   * status will not change. Deprecated: Canceled entitlements will no longer be
   * visible.
   *
   * @deprecated
   */
  public const PROVISIONING_STATE_CANCELED = 'CANCELED';
  /**
   * The entitlement reached end of term and was not renewed. After an
   * entitlement is `COMPLETE`, its status will not change. Deprecated: This is
   * represented as ProvisioningState=SUSPENDED and suspensionReason in
   * (TRIAL_ENDED, RENEWAL_WITH_TYPE_CANCEL)
   *
   * @deprecated
   */
  public const PROVISIONING_STATE_COMPLETE = 'COMPLETE';
  /**
   * The entitlement is pending. Deprecated: This is represented as
   * ProvisioningState=SUSPENDED and suspensionReason=PENDING_TOS_ACCEPTANCE
   *
   * @deprecated
   */
  public const PROVISIONING_STATE_PENDING = 'PENDING';
  /**
   * The entitlement is currently suspended.
   */
  public const PROVISIONING_STATE_SUSPENDED = 'SUSPENDED';
  protected $collection_key = 'suspensionReasons';
  /**
   * The current number of users that are assigned a license for the product
   * defined in provisioned_service.skuId. Read-only. Deprecated: Use
   * `parameters` instead.
   *
   * @deprecated
   * @var int
   */
  public $assignedUnits;
  protected $associationInfoType = GoogleCloudChannelV1alpha1AssociationInfo::class;
  protected $associationInfoDataType = '';
  /**
   * Optional. The billing account resource name that is used to pay for this
   * entitlement.
   *
   * @var string
   */
  public $billingAccount;
  /**
   * Cloud Identity ID of a channel partner who will be the direct reseller for
   * the customer's order. This field is generally used in 2-tier ordering,
   * where the order is placed by a top-level distributor on behalf of their
   * channel partner or reseller. Required for distributors. Deprecated:
   * `channel_partner_id` has been moved to the Customer.
   *
   * @deprecated
   * @var string
   */
  public $channelPartnerId;
  protected $commitmentSettingsType = GoogleCloudChannelV1alpha1CommitmentSettings::class;
  protected $commitmentSettingsDataType = '';
  /**
   * Output only. The time at which the entitlement is created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Maximum number of units for a non commitment-based Offer, such as Flexible,
   * Trial or Free entitlements. For commitment-based entitlements, this is a
   * read-only field, which only the internal support team can update.
   * Deprecated: Use `parameters` instead.
   *
   * @deprecated
   * @var int
   */
  public $maxUnits;
  /**
   * Output only. Resource name of an entitlement in the form: accounts/{account
   * _id}/customers/{customer_id}/entitlements/{entitlement_id}.
   *
   * @var string
   */
  public $name;
  /**
   * Number of units for a commitment-based Offer. For example, for seat-based
   * Offers, this would be the number of seats; for license-based Offers, this
   * would be the number of licenses. Required for creating commitment-based
   * Offers. Deprecated: Use `parameters` instead.
   *
   * @deprecated
   * @var int
   */
  public $numUnits;
  /**
   * Required. The offer resource name for which the entitlement is to be
   * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
   *
   * @var string
   */
  public $offer;
  protected $parametersType = GoogleCloudChannelV1alpha1Parameter::class;
  protected $parametersDataType = 'array';
  /**
   * Optional. Price reference ID for the offer. Only for offers that require
   * additional price information. Used to guarantee that the pricing is
   * consistent between quoting the offer and placing the order.
   *
   * @var string
   */
  public $priceReferenceId;
  protected $provisionedServiceType = GoogleCloudChannelV1alpha1ProvisionedService::class;
  protected $provisionedServiceDataType = '';
  /**
   * Output only. Current provisioning state of the entitlement.
   *
   * @var string
   */
  public $provisioningState;
  /**
   * Optional. This purchase order (PO) information is for resellers to use for
   * their company tracking usage. If a purchaseOrderId value is given, it
   * appears in the API responses and shows up in the invoice. The property
   * accepts up to 80 plain text characters. This is only supported for Google
   * Workspace entitlements.
   *
   * @var string
   */
  public $purchaseOrderId;
  /**
   * Output only. Enumerable of all current suspension reasons for an
   * entitlement.
   *
   * @var string[]
   */
  public $suspensionReasons;
  protected $trialSettingsType = GoogleCloudChannelV1alpha1TrialSettings::class;
  protected $trialSettingsDataType = '';
  /**
   * Output only. The time at which the entitlement is updated.
   *
   * @var string
   */
  public $updateTime;

  /**
   * The current number of users that are assigned a license for the product
   * defined in provisioned_service.skuId. Read-only. Deprecated: Use
   * `parameters` instead.
   *
   * @deprecated
   * @param int $assignedUnits
   */
  public function setAssignedUnits($assignedUnits)
  {
    $this->assignedUnits = $assignedUnits;
  }
  /**
   * @deprecated
   * @return int
   */
  public function getAssignedUnits()
  {
    return $this->assignedUnits;
  }
  /**
   * Association information to other entitlements.
   *
   * @param GoogleCloudChannelV1alpha1AssociationInfo $associationInfo
   */
  public function setAssociationInfo(GoogleCloudChannelV1alpha1AssociationInfo $associationInfo)
  {
    $this->associationInfo = $associationInfo;
  }
  /**
   * @return GoogleCloudChannelV1alpha1AssociationInfo
   */
  public function getAssociationInfo()
  {
    return $this->associationInfo;
  }
  /**
   * Optional. The billing account resource name that is used to pay for this
   * entitlement.
   *
   * @param string $billingAccount
   */
  public function setBillingAccount($billingAccount)
  {
    $this->billingAccount = $billingAccount;
  }
  /**
   * @return string
   */
  public function getBillingAccount()
  {
    return $this->billingAccount;
  }
  /**
   * Cloud Identity ID of a channel partner who will be the direct reseller for
   * the customer's order. This field is generally used in 2-tier ordering,
   * where the order is placed by a top-level distributor on behalf of their
   * channel partner or reseller. Required for distributors. Deprecated:
   * `channel_partner_id` has been moved to the Customer.
   *
   * @deprecated
   * @param string $channelPartnerId
   */
  public function setChannelPartnerId($channelPartnerId)
  {
    $this->channelPartnerId = $channelPartnerId;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getChannelPartnerId()
  {
    return $this->channelPartnerId;
  }
  /**
   * Commitment settings for a commitment-based Offer. Required for commitment
   * based offers.
   *
   * @param GoogleCloudChannelV1alpha1CommitmentSettings $commitmentSettings
   */
  public function setCommitmentSettings(GoogleCloudChannelV1alpha1CommitmentSettings $commitmentSettings)
  {
    $this->commitmentSettings = $commitmentSettings;
  }
  /**
   * @return GoogleCloudChannelV1alpha1CommitmentSettings
   */
  public function getCommitmentSettings()
  {
    return $this->commitmentSettings;
  }
  /**
   * Output only. The time at which the entitlement is created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Maximum number of units for a non commitment-based Offer, such as Flexible,
   * Trial or Free entitlements. For commitment-based entitlements, this is a
   * read-only field, which only the internal support team can update.
   * Deprecated: Use `parameters` instead.
   *
   * @deprecated
   * @param int $maxUnits
   */
  public function setMaxUnits($maxUnits)
  {
    $this->maxUnits = $maxUnits;
  }
  /**
   * @deprecated
   * @return int
   */
  public function getMaxUnits()
  {
    return $this->maxUnits;
  }
  /**
   * Output only. Resource name of an entitlement in the form: accounts/{account
   * _id}/customers/{customer_id}/entitlements/{entitlement_id}.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Number of units for a commitment-based Offer. For example, for seat-based
   * Offers, this would be the number of seats; for license-based Offers, this
   * would be the number of licenses. Required for creating commitment-based
   * Offers. Deprecated: Use `parameters` instead.
   *
   * @deprecated
   * @param int $numUnits
   */
  public function setNumUnits($numUnits)
  {
    $this->numUnits = $numUnits;
  }
  /**
   * @deprecated
   * @return int
   */
  public function getNumUnits()
  {
    return $this->numUnits;
  }
  /**
   * Required. The offer resource name for which the entitlement is to be
   * created. 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;
  }
  /**
   * Extended entitlement parameters. When creating an entitlement, valid
   * parameter names and values are defined in the Offer.parameter_definitions.
   * For Google Workspace, the following Parameters may be accepted as input: -
   * max_units: The maximum assignable units for a flexible offer OR -
   * num_units: The total commitment for commitment-based offers The response
   * may additionally include the following output-only Parameters: -
   * assigned_units: The number of licenses assigned to users. For Google Cloud
   * billing subaccounts, the following Parameter may be accepted as input: -
   * display_name: The display name of the billing subaccount.
   *
   * @param GoogleCloudChannelV1alpha1Parameter[] $parameters
   */
  public function setParameters($parameters)
  {
    $this->parameters = $parameters;
  }
  /**
   * @return GoogleCloudChannelV1alpha1Parameter[]
   */
  public function getParameters()
  {
    return $this->parameters;
  }
  /**
   * Optional. Price reference ID for the offer. Only for offers that require
   * additional price information. Used to guarantee that the pricing is
   * consistent between quoting the offer and placing the order.
   *
   * @param string $priceReferenceId
   */
  public function setPriceReferenceId($priceReferenceId)
  {
    $this->priceReferenceId = $priceReferenceId;
  }
  /**
   * @return string
   */
  public function getPriceReferenceId()
  {
    return $this->priceReferenceId;
  }
  /**
   * Output only. Service provisioning details for the entitlement.
   *
   * @param GoogleCloudChannelV1alpha1ProvisionedService $provisionedService
   */
  public function setProvisionedService(GoogleCloudChannelV1alpha1ProvisionedService $provisionedService)
  {
    $this->provisionedService = $provisionedService;
  }
  /**
   * @return GoogleCloudChannelV1alpha1ProvisionedService
   */
  public function getProvisionedService()
  {
    return $this->provisionedService;
  }
  /**
   * Output only. Current provisioning state of the entitlement.
   *
   * Accepted values: PROVISIONING_STATE_UNSPECIFIED, ACTIVE, CANCELED,
   * COMPLETE, PENDING, SUSPENDED
   *
   * @param self::PROVISIONING_STATE_* $provisioningState
   */
  public function setProvisioningState($provisioningState)
  {
    $this->provisioningState = $provisioningState;
  }
  /**
   * @return self::PROVISIONING_STATE_*
   */
  public function getProvisioningState()
  {
    return $this->provisioningState;
  }
  /**
   * Optional. This purchase order (PO) information is for resellers to use for
   * their company tracking usage. If a purchaseOrderId value is given, it
   * appears in the API responses and shows up in the invoice. The property
   * accepts up to 80 plain text characters. This is only supported for Google
   * Workspace entitlements.
   *
   * @param string $purchaseOrderId
   */
  public function setPurchaseOrderId($purchaseOrderId)
  {
    $this->purchaseOrderId = $purchaseOrderId;
  }
  /**
   * @return string
   */
  public function getPurchaseOrderId()
  {
    return $this->purchaseOrderId;
  }
  /**
   * Output only. Enumerable of all current suspension reasons for an
   * entitlement.
   *
   * @param string[] $suspensionReasons
   */
  public function setSuspensionReasons($suspensionReasons)
  {
    $this->suspensionReasons = $suspensionReasons;
  }
  /**
   * @return string[]
   */
  public function getSuspensionReasons()
  {
    return $this->suspensionReasons;
  }
  /**
   * Output only. Settings for trial offers.
   *
   * @param GoogleCloudChannelV1alpha1TrialSettings $trialSettings
   */
  public function setTrialSettings(GoogleCloudChannelV1alpha1TrialSettings $trialSettings)
  {
    $this->trialSettings = $trialSettings;
  }
  /**
   * @return GoogleCloudChannelV1alpha1TrialSettings
   */
  public function getTrialSettings()
  {
    return $this->trialSettings;
  }
  /**
   * Output only. The time at which the entitlement is updated.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1alpha1Entitlement::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1alpha1Entitlement');
← Back