Initial commit
This commit is contained in:
111
vendor/google/apiclient-services/src/Google/Service/Reseller/Address.php
vendored
Normal file
111
vendor/google/apiclient-services/src/Google/Service/Reseller/Address.php
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_Address extends Google_Model
|
||||
{
|
||||
public $addressLine1;
|
||||
public $addressLine2;
|
||||
public $addressLine3;
|
||||
public $contactName;
|
||||
public $countryCode;
|
||||
public $kind;
|
||||
public $locality;
|
||||
public $organizationName;
|
||||
public $postalCode;
|
||||
public $region;
|
||||
|
||||
public function setAddressLine1($addressLine1)
|
||||
{
|
||||
$this->addressLine1 = $addressLine1;
|
||||
}
|
||||
public function getAddressLine1()
|
||||
{
|
||||
return $this->addressLine1;
|
||||
}
|
||||
public function setAddressLine2($addressLine2)
|
||||
{
|
||||
$this->addressLine2 = $addressLine2;
|
||||
}
|
||||
public function getAddressLine2()
|
||||
{
|
||||
return $this->addressLine2;
|
||||
}
|
||||
public function setAddressLine3($addressLine3)
|
||||
{
|
||||
$this->addressLine3 = $addressLine3;
|
||||
}
|
||||
public function getAddressLine3()
|
||||
{
|
||||
return $this->addressLine3;
|
||||
}
|
||||
public function setContactName($contactName)
|
||||
{
|
||||
$this->contactName = $contactName;
|
||||
}
|
||||
public function getContactName()
|
||||
{
|
||||
return $this->contactName;
|
||||
}
|
||||
public function setCountryCode($countryCode)
|
||||
{
|
||||
$this->countryCode = $countryCode;
|
||||
}
|
||||
public function getCountryCode()
|
||||
{
|
||||
return $this->countryCode;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setLocality($locality)
|
||||
{
|
||||
$this->locality = $locality;
|
||||
}
|
||||
public function getLocality()
|
||||
{
|
||||
return $this->locality;
|
||||
}
|
||||
public function setOrganizationName($organizationName)
|
||||
{
|
||||
$this->organizationName = $organizationName;
|
||||
}
|
||||
public function getOrganizationName()
|
||||
{
|
||||
return $this->organizationName;
|
||||
}
|
||||
public function setPostalCode($postalCode)
|
||||
{
|
||||
$this->postalCode = $postalCode;
|
||||
}
|
||||
public function getPostalCode()
|
||||
{
|
||||
return $this->postalCode;
|
||||
}
|
||||
public function setRegion($region)
|
||||
{
|
||||
$this->region = $region;
|
||||
}
|
||||
public function getRegion()
|
||||
{
|
||||
return $this->region;
|
||||
}
|
||||
}
|
||||
67
vendor/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php
vendored
Normal file
67
vendor/google/apiclient-services/src/Google/Service/Reseller/ChangePlanRequest.php
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_ChangePlanRequest extends Google_Model
|
||||
{
|
||||
public $dealCode;
|
||||
public $kind;
|
||||
public $planName;
|
||||
public $purchaseOrderId;
|
||||
protected $seatsType = 'Google_Service_Reseller_Seats';
|
||||
protected $seatsDataType = '';
|
||||
|
||||
public function setDealCode($dealCode)
|
||||
{
|
||||
$this->dealCode = $dealCode;
|
||||
}
|
||||
public function getDealCode()
|
||||
{
|
||||
return $this->dealCode;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPlanName($planName)
|
||||
{
|
||||
$this->planName = $planName;
|
||||
}
|
||||
public function getPlanName()
|
||||
{
|
||||
return $this->planName;
|
||||
}
|
||||
public function setPurchaseOrderId($purchaseOrderId)
|
||||
{
|
||||
$this->purchaseOrderId = $purchaseOrderId;
|
||||
}
|
||||
public function getPurchaseOrderId()
|
||||
{
|
||||
return $this->purchaseOrderId;
|
||||
}
|
||||
public function setSeats(Google_Service_Reseller_Seats $seats)
|
||||
{
|
||||
$this->seats = $seats;
|
||||
}
|
||||
public function getSeats()
|
||||
{
|
||||
return $this->seats;
|
||||
}
|
||||
}
|
||||
94
vendor/google/apiclient-services/src/Google/Service/Reseller/Customer.php
vendored
Normal file
94
vendor/google/apiclient-services/src/Google/Service/Reseller/Customer.php
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_Customer extends Google_Model
|
||||
{
|
||||
public $alternateEmail;
|
||||
public $customerDomain;
|
||||
public $customerDomainVerified;
|
||||
public $customerId;
|
||||
public $kind;
|
||||
public $phoneNumber;
|
||||
protected $postalAddressType = 'Google_Service_Reseller_Address';
|
||||
protected $postalAddressDataType = '';
|
||||
public $resourceUiUrl;
|
||||
|
||||
public function setAlternateEmail($alternateEmail)
|
||||
{
|
||||
$this->alternateEmail = $alternateEmail;
|
||||
}
|
||||
public function getAlternateEmail()
|
||||
{
|
||||
return $this->alternateEmail;
|
||||
}
|
||||
public function setCustomerDomain($customerDomain)
|
||||
{
|
||||
$this->customerDomain = $customerDomain;
|
||||
}
|
||||
public function getCustomerDomain()
|
||||
{
|
||||
return $this->customerDomain;
|
||||
}
|
||||
public function setCustomerDomainVerified($customerDomainVerified)
|
||||
{
|
||||
$this->customerDomainVerified = $customerDomainVerified;
|
||||
}
|
||||
public function getCustomerDomainVerified()
|
||||
{
|
||||
return $this->customerDomainVerified;
|
||||
}
|
||||
public function setCustomerId($customerId)
|
||||
{
|
||||
$this->customerId = $customerId;
|
||||
}
|
||||
public function getCustomerId()
|
||||
{
|
||||
return $this->customerId;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPhoneNumber($phoneNumber)
|
||||
{
|
||||
$this->phoneNumber = $phoneNumber;
|
||||
}
|
||||
public function getPhoneNumber()
|
||||
{
|
||||
return $this->phoneNumber;
|
||||
}
|
||||
public function setPostalAddress(Google_Service_Reseller_Address $postalAddress)
|
||||
{
|
||||
$this->postalAddress = $postalAddress;
|
||||
}
|
||||
public function getPostalAddress()
|
||||
{
|
||||
return $this->postalAddress;
|
||||
}
|
||||
public function setResourceUiUrl($resourceUiUrl)
|
||||
{
|
||||
$this->resourceUiUrl = $resourceUiUrl;
|
||||
}
|
||||
public function getResourceUiUrl()
|
||||
{
|
||||
return $this->resourceUiUrl;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Reseller/RenewalSettings.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_RenewalSettings extends Google_Model
|
||||
{
|
||||
public $kind;
|
||||
public $renewalType;
|
||||
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setRenewalType($renewalType)
|
||||
{
|
||||
$this->renewalType = $renewalType;
|
||||
}
|
||||
public function getRenewalType()
|
||||
{
|
||||
return $this->renewalType;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'serviceAccountEmailAddresses';
|
||||
public $serviceAccountEmailAddresses;
|
||||
public $topicName;
|
||||
|
||||
public function setServiceAccountEmailAddresses($serviceAccountEmailAddresses)
|
||||
{
|
||||
$this->serviceAccountEmailAddresses = $serviceAccountEmailAddresses;
|
||||
}
|
||||
public function getServiceAccountEmailAddresses()
|
||||
{
|
||||
return $this->serviceAccountEmailAddresses;
|
||||
}
|
||||
public function setTopicName($topicName)
|
||||
{
|
||||
$this->topicName = $topicName;
|
||||
}
|
||||
public function getTopicName()
|
||||
{
|
||||
return $this->topicName;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Reseller/ResellernotifyResource.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_ResellernotifyResource extends Google_Model
|
||||
{
|
||||
public $topicName;
|
||||
|
||||
public function setTopicName($topicName)
|
||||
{
|
||||
$this->topicName = $topicName;
|
||||
}
|
||||
public function getTopicName()
|
||||
{
|
||||
return $this->topicName;
|
||||
}
|
||||
}
|
||||
99
vendor/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php
vendored
Normal file
99
vendor/google/apiclient-services/src/Google/Service/Reseller/Resource/Customers.php
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "customers" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $resellerService = new Google_Service_Reseller(...);
|
||||
* $customers = $resellerService->customers;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Reseller_Resource_Customers extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Get a customer account. (customers.get)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Customer
|
||||
*/
|
||||
public function get($customerId, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Reseller_Customer");
|
||||
}
|
||||
/**
|
||||
* Order a new customer's account. (customers.insert)
|
||||
*
|
||||
* @param Google_Service_Reseller_Customer $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string customerAuthToken The customerAuthToken query string is
|
||||
* required when creating a resold account that transfers a direct customer's
|
||||
* subscription or transfers another reseller customer's subscription to your
|
||||
* reseller management. This is a hexadecimal authentication token needed to
|
||||
* complete the subscription transfer. For more information, see the
|
||||
* administrator help center.
|
||||
* @return Google_Service_Reseller_Customer
|
||||
*/
|
||||
public function insert(Google_Service_Reseller_Customer $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_Reseller_Customer");
|
||||
}
|
||||
/**
|
||||
* Update a customer account's settings. This method supports patch semantics.
|
||||
* (customers.patch)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param Google_Service_Reseller_Customer $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Customer
|
||||
*/
|
||||
public function patch($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Reseller_Customer");
|
||||
}
|
||||
/**
|
||||
* Update a customer account's settings. (customers.update)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param Google_Service_Reseller_Customer $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Customer
|
||||
*/
|
||||
public function update($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Reseller_Customer");
|
||||
}
|
||||
}
|
||||
72
vendor/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php
vendored
Normal file
72
vendor/google/apiclient-services/src/Google/Service/Reseller/Resource/Resellernotify.php
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "resellernotify" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $resellerService = new Google_Service_Reseller(...);
|
||||
* $resellernotify = $resellerService->resellernotify;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Reseller_Resource_Resellernotify extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Returns all the details of the watch corresponding to the reseller.
|
||||
* (resellernotify.getwatchdetails)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse
|
||||
*/
|
||||
public function getwatchdetails($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getwatchdetails', array($params), "Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse");
|
||||
}
|
||||
/**
|
||||
* Registers a Reseller for receiving notifications. (resellernotify.register)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string serviceAccountEmailAddress The service account which will
|
||||
* own the created Cloud-PubSub topic.
|
||||
* @return Google_Service_Reseller_ResellernotifyResource
|
||||
*/
|
||||
public function register($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('register', array($params), "Google_Service_Reseller_ResellernotifyResource");
|
||||
}
|
||||
/**
|
||||
* Unregisters a Reseller for receiving notifications.
|
||||
* (resellernotify.unregister)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string serviceAccountEmailAddress The service account which owns
|
||||
* the Cloud-PubSub topic.
|
||||
* @return Google_Service_Reseller_ResellernotifyResource
|
||||
*/
|
||||
public function unregister($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('unregister', array($params), "Google_Service_Reseller_ResellernotifyResource");
|
||||
}
|
||||
}
|
||||
265
vendor/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php
vendored
Normal file
265
vendor/google/apiclient-services/src/Google/Service/Reseller/Resource/Subscriptions.php
vendored
Normal file
@@ -0,0 +1,265 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "subscriptions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $resellerService = new Google_Service_Reseller(...);
|
||||
* $subscriptions = $resellerService->subscriptions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Reseller_Resource_Subscriptions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Activates a subscription previously suspended by the reseller
|
||||
* (subscriptions.activate)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function activate($customerId, $subscriptionId, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('activate', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
/**
|
||||
* Update a subscription plan. Use this method to update a plan for a 30-day
|
||||
* trial or a flexible plan subscription to an annual commitment plan with
|
||||
* monthly or yearly payments. (subscriptions.changePlan)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param Google_Service_Reseller_ChangePlanRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function changePlan($customerId, $subscriptionId, Google_Service_Reseller_ChangePlanRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('changePlan', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
/**
|
||||
* Update a user license's renewal settings. This is applicable for accounts
|
||||
* with annual commitment plans only. (subscriptions.changeRenewalSettings)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param Google_Service_Reseller_RenewalSettings $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function changeRenewalSettings($customerId, $subscriptionId, Google_Service_Reseller_RenewalSettings $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('changeRenewalSettings', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
/**
|
||||
* Update a subscription's user license settings. (subscriptions.changeSeats)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param Google_Service_Reseller_Seats $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function changeSeats($customerId, $subscriptionId, Google_Service_Reseller_Seats $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('changeSeats', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
/**
|
||||
* Cancel, suspend or transfer a subscription to direct. (subscriptions.delete)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param string $deletionType The deletionType query string enables the
|
||||
* cancellation, downgrade, or suspension of a subscription.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($customerId, $subscriptionId, $deletionType, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'deletionType' => $deletionType);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Get a specific subscription. (subscriptions.get)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function get($customerId, $subscriptionId, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
/**
|
||||
* Create or transfer a subscription. (subscriptions.insert)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param Google_Service_Reseller_Subscription $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string customerAuthToken The customerAuthToken query string is
|
||||
* required when creating a resold account that transfers a direct customer's
|
||||
* subscription or transfers another reseller customer's subscription to your
|
||||
* reseller management. This is a hexadecimal authentication token needed to
|
||||
* complete the subscription transfer. For more information, see the
|
||||
* administrator help center.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function insert($customerId, Google_Service_Reseller_Subscription $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
/**
|
||||
* List of subscriptions managed by the reseller. The list can be all
|
||||
* subscriptions, all of a customer's subscriptions, or all of a customer's
|
||||
* transferable subscriptions. (subscriptions.listSubscriptions)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string customerAuthToken The customerAuthToken query string is
|
||||
* required when creating a resold account that transfers a direct customer's
|
||||
* subscription or transfers another reseller customer's subscription to your
|
||||
* reseller management. This is a hexadecimal authentication token needed to
|
||||
* complete the subscription transfer. For more information, see the
|
||||
* administrator help center.
|
||||
* @opt_param string customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @opt_param string customerNamePrefix When retrieving all of your
|
||||
* subscriptions and filtering for specific customers, you can enter a prefix
|
||||
* for a customer name. Using an example customer group that includes exam.com,
|
||||
* example20.com and example.com: - exa -- Returns all customer names that start
|
||||
* with 'exa' which could include exam.com, example20.com, and example.com. A
|
||||
* name prefix is similar to using a regular expression's asterisk, exa*. -
|
||||
* example -- Returns example20.com and example.com.
|
||||
* @opt_param string maxResults When retrieving a large list, the maxResults is
|
||||
* the maximum number of results per page. The nextPageToken value takes you to
|
||||
* the next page. The default is 20.
|
||||
* @opt_param string pageToken Token to specify next page in the list
|
||||
* @return Google_Service_Reseller_Subscriptions
|
||||
*/
|
||||
public function listSubscriptions($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Reseller_Subscriptions");
|
||||
}
|
||||
/**
|
||||
* Immediately move a 30-day free trial subscription to a paid service
|
||||
* subscription. (subscriptions.startPaidService)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function startPaidService($customerId, $subscriptionId, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('startPaidService', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
/**
|
||||
* Suspends an active subscription. (subscriptions.suspend)
|
||||
*
|
||||
* @param string $customerId Either the customer's primary domain name or the
|
||||
* customer's unique identifier. If using the domain name, we do not recommend
|
||||
* using a customerId as a key for persistent data. If the domain name for a
|
||||
* customerId is changed, the Google system automatically updates.
|
||||
* @param string $subscriptionId This is a required property. The subscriptionId
|
||||
* is the subscription identifier and is unique for each customer. Since a
|
||||
* subscriptionId changes when a subscription is updated, we recommend to not
|
||||
* use this ID as a key for persistent data. And the subscriptionId can be found
|
||||
* using the retrieve all reseller subscriptions method.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Reseller_Subscription
|
||||
*/
|
||||
public function suspend($customerId, $subscriptionId, $optParams = array())
|
||||
{
|
||||
$params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('suspend', array($params), "Google_Service_Reseller_Subscription");
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/Reseller/Seats.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/Reseller/Seats.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_Seats extends Google_Model
|
||||
{
|
||||
public $kind;
|
||||
public $licensedNumberOfSeats;
|
||||
public $maximumNumberOfSeats;
|
||||
public $numberOfSeats;
|
||||
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setLicensedNumberOfSeats($licensedNumberOfSeats)
|
||||
{
|
||||
$this->licensedNumberOfSeats = $licensedNumberOfSeats;
|
||||
}
|
||||
public function getLicensedNumberOfSeats()
|
||||
{
|
||||
return $this->licensedNumberOfSeats;
|
||||
}
|
||||
public function setMaximumNumberOfSeats($maximumNumberOfSeats)
|
||||
{
|
||||
$this->maximumNumberOfSeats = $maximumNumberOfSeats;
|
||||
}
|
||||
public function getMaximumNumberOfSeats()
|
||||
{
|
||||
return $this->maximumNumberOfSeats;
|
||||
}
|
||||
public function setNumberOfSeats($numberOfSeats)
|
||||
{
|
||||
$this->numberOfSeats = $numberOfSeats;
|
||||
}
|
||||
public function getNumberOfSeats()
|
||||
{
|
||||
return $this->numberOfSeats;
|
||||
}
|
||||
}
|
||||
189
vendor/google/apiclient-services/src/Google/Service/Reseller/Subscription.php
vendored
Normal file
189
vendor/google/apiclient-services/src/Google/Service/Reseller/Subscription.php
vendored
Normal file
@@ -0,0 +1,189 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_Subscription extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'suspensionReasons';
|
||||
public $billingMethod;
|
||||
public $creationTime;
|
||||
public $customerDomain;
|
||||
public $customerId;
|
||||
public $dealCode;
|
||||
public $kind;
|
||||
protected $planType = 'Google_Service_Reseller_SubscriptionPlan';
|
||||
protected $planDataType = '';
|
||||
public $purchaseOrderId;
|
||||
protected $renewalSettingsType = 'Google_Service_Reseller_RenewalSettings';
|
||||
protected $renewalSettingsDataType = '';
|
||||
public $resourceUiUrl;
|
||||
protected $seatsType = 'Google_Service_Reseller_Seats';
|
||||
protected $seatsDataType = '';
|
||||
public $skuId;
|
||||
public $skuName;
|
||||
public $status;
|
||||
public $subscriptionId;
|
||||
public $suspensionReasons;
|
||||
protected $transferInfoType = 'Google_Service_Reseller_SubscriptionTransferInfo';
|
||||
protected $transferInfoDataType = '';
|
||||
protected $trialSettingsType = 'Google_Service_Reseller_SubscriptionTrialSettings';
|
||||
protected $trialSettingsDataType = '';
|
||||
|
||||
public function setBillingMethod($billingMethod)
|
||||
{
|
||||
$this->billingMethod = $billingMethod;
|
||||
}
|
||||
public function getBillingMethod()
|
||||
{
|
||||
return $this->billingMethod;
|
||||
}
|
||||
public function setCreationTime($creationTime)
|
||||
{
|
||||
$this->creationTime = $creationTime;
|
||||
}
|
||||
public function getCreationTime()
|
||||
{
|
||||
return $this->creationTime;
|
||||
}
|
||||
public function setCustomerDomain($customerDomain)
|
||||
{
|
||||
$this->customerDomain = $customerDomain;
|
||||
}
|
||||
public function getCustomerDomain()
|
||||
{
|
||||
return $this->customerDomain;
|
||||
}
|
||||
public function setCustomerId($customerId)
|
||||
{
|
||||
$this->customerId = $customerId;
|
||||
}
|
||||
public function getCustomerId()
|
||||
{
|
||||
return $this->customerId;
|
||||
}
|
||||
public function setDealCode($dealCode)
|
||||
{
|
||||
$this->dealCode = $dealCode;
|
||||
}
|
||||
public function getDealCode()
|
||||
{
|
||||
return $this->dealCode;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setPlan(Google_Service_Reseller_SubscriptionPlan $plan)
|
||||
{
|
||||
$this->plan = $plan;
|
||||
}
|
||||
public function getPlan()
|
||||
{
|
||||
return $this->plan;
|
||||
}
|
||||
public function setPurchaseOrderId($purchaseOrderId)
|
||||
{
|
||||
$this->purchaseOrderId = $purchaseOrderId;
|
||||
}
|
||||
public function getPurchaseOrderId()
|
||||
{
|
||||
return $this->purchaseOrderId;
|
||||
}
|
||||
public function setRenewalSettings(Google_Service_Reseller_RenewalSettings $renewalSettings)
|
||||
{
|
||||
$this->renewalSettings = $renewalSettings;
|
||||
}
|
||||
public function getRenewalSettings()
|
||||
{
|
||||
return $this->renewalSettings;
|
||||
}
|
||||
public function setResourceUiUrl($resourceUiUrl)
|
||||
{
|
||||
$this->resourceUiUrl = $resourceUiUrl;
|
||||
}
|
||||
public function getResourceUiUrl()
|
||||
{
|
||||
return $this->resourceUiUrl;
|
||||
}
|
||||
public function setSeats(Google_Service_Reseller_Seats $seats)
|
||||
{
|
||||
$this->seats = $seats;
|
||||
}
|
||||
public function getSeats()
|
||||
{
|
||||
return $this->seats;
|
||||
}
|
||||
public function setSkuId($skuId)
|
||||
{
|
||||
$this->skuId = $skuId;
|
||||
}
|
||||
public function getSkuId()
|
||||
{
|
||||
return $this->skuId;
|
||||
}
|
||||
public function setSkuName($skuName)
|
||||
{
|
||||
$this->skuName = $skuName;
|
||||
}
|
||||
public function getSkuName()
|
||||
{
|
||||
return $this->skuName;
|
||||
}
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setSubscriptionId($subscriptionId)
|
||||
{
|
||||
$this->subscriptionId = $subscriptionId;
|
||||
}
|
||||
public function getSubscriptionId()
|
||||
{
|
||||
return $this->subscriptionId;
|
||||
}
|
||||
public function setSuspensionReasons($suspensionReasons)
|
||||
{
|
||||
$this->suspensionReasons = $suspensionReasons;
|
||||
}
|
||||
public function getSuspensionReasons()
|
||||
{
|
||||
return $this->suspensionReasons;
|
||||
}
|
||||
public function setTransferInfo(Google_Service_Reseller_SubscriptionTransferInfo $transferInfo)
|
||||
{
|
||||
$this->transferInfo = $transferInfo;
|
||||
}
|
||||
public function getTransferInfo()
|
||||
{
|
||||
return $this->transferInfo;
|
||||
}
|
||||
public function setTrialSettings(Google_Service_Reseller_SubscriptionTrialSettings $trialSettings)
|
||||
{
|
||||
$this->trialSettings = $trialSettings;
|
||||
}
|
||||
public function getTrialSettings()
|
||||
{
|
||||
return $this->trialSettings;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Reseller/SubscriptionPlan.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_SubscriptionPlan extends Google_Model
|
||||
{
|
||||
protected $commitmentIntervalType = 'Google_Service_Reseller_SubscriptionPlanCommitmentInterval';
|
||||
protected $commitmentIntervalDataType = '';
|
||||
public $isCommitmentPlan;
|
||||
public $planName;
|
||||
|
||||
public function setCommitmentInterval(Google_Service_Reseller_SubscriptionPlanCommitmentInterval $commitmentInterval)
|
||||
{
|
||||
$this->commitmentInterval = $commitmentInterval;
|
||||
}
|
||||
public function getCommitmentInterval()
|
||||
{
|
||||
return $this->commitmentInterval;
|
||||
}
|
||||
public function setIsCommitmentPlan($isCommitmentPlan)
|
||||
{
|
||||
$this->isCommitmentPlan = $isCommitmentPlan;
|
||||
}
|
||||
public function getIsCommitmentPlan()
|
||||
{
|
||||
return $this->isCommitmentPlan;
|
||||
}
|
||||
public function setPlanName($planName)
|
||||
{
|
||||
$this->planName = $planName;
|
||||
}
|
||||
public function getPlanName()
|
||||
{
|
||||
return $this->planName;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_SubscriptionPlanCommitmentInterval extends Google_Model
|
||||
{
|
||||
public $endTime;
|
||||
public $startTime;
|
||||
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->startTime = $startTime;
|
||||
}
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTransferInfo.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_SubscriptionTransferInfo extends Google_Model
|
||||
{
|
||||
public $minimumTransferableSeats;
|
||||
public $transferabilityExpirationTime;
|
||||
|
||||
public function setMinimumTransferableSeats($minimumTransferableSeats)
|
||||
{
|
||||
$this->minimumTransferableSeats = $minimumTransferableSeats;
|
||||
}
|
||||
public function getMinimumTransferableSeats()
|
||||
{
|
||||
return $this->minimumTransferableSeats;
|
||||
}
|
||||
public function setTransferabilityExpirationTime($transferabilityExpirationTime)
|
||||
{
|
||||
$this->transferabilityExpirationTime = $transferabilityExpirationTime;
|
||||
}
|
||||
public function getTransferabilityExpirationTime()
|
||||
{
|
||||
return $this->transferabilityExpirationTime;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Reseller/SubscriptionTrialSettings.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_SubscriptionTrialSettings extends Google_Model
|
||||
{
|
||||
public $isInTrial;
|
||||
public $trialEndTime;
|
||||
|
||||
public function setIsInTrial($isInTrial)
|
||||
{
|
||||
$this->isInTrial = $isInTrial;
|
||||
}
|
||||
public function getIsInTrial()
|
||||
{
|
||||
return $this->isInTrial;
|
||||
}
|
||||
public function setTrialEndTime($trialEndTime)
|
||||
{
|
||||
$this->trialEndTime = $trialEndTime;
|
||||
}
|
||||
public function getTrialEndTime()
|
||||
{
|
||||
return $this->trialEndTime;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Reseller/Subscriptions.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Reseller_Subscriptions extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'subscriptions';
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
protected $subscriptionsType = 'Google_Service_Reseller_Subscription';
|
||||
protected $subscriptionsDataType = 'array';
|
||||
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setSubscriptions($subscriptions)
|
||||
{
|
||||
$this->subscriptions = $subscriptions;
|
||||
}
|
||||
public function getSubscriptions()
|
||||
{
|
||||
return $this->subscriptions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user