93 lines
2.4 KiB
PHP
93 lines
2.4 KiB
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.
|
|
*/
|
|
|
|
class Google_Service_Cloudbilling_PricingExpression extends Google_Collection
|
|
{
|
|
protected $collection_key = 'tieredRates';
|
|
public $baseUnit;
|
|
public $baseUnitConversionFactor;
|
|
public $baseUnitDescription;
|
|
public $displayQuantity;
|
|
protected $tieredRatesType = 'Google_Service_Cloudbilling_TierRate';
|
|
protected $tieredRatesDataType = 'array';
|
|
public $usageUnit;
|
|
public $usageUnitDescription;
|
|
|
|
public function setBaseUnit($baseUnit)
|
|
{
|
|
$this->baseUnit = $baseUnit;
|
|
}
|
|
public function getBaseUnit()
|
|
{
|
|
return $this->baseUnit;
|
|
}
|
|
public function setBaseUnitConversionFactor($baseUnitConversionFactor)
|
|
{
|
|
$this->baseUnitConversionFactor = $baseUnitConversionFactor;
|
|
}
|
|
public function getBaseUnitConversionFactor()
|
|
{
|
|
return $this->baseUnitConversionFactor;
|
|
}
|
|
public function setBaseUnitDescription($baseUnitDescription)
|
|
{
|
|
$this->baseUnitDescription = $baseUnitDescription;
|
|
}
|
|
public function getBaseUnitDescription()
|
|
{
|
|
return $this->baseUnitDescription;
|
|
}
|
|
public function setDisplayQuantity($displayQuantity)
|
|
{
|
|
$this->displayQuantity = $displayQuantity;
|
|
}
|
|
public function getDisplayQuantity()
|
|
{
|
|
return $this->displayQuantity;
|
|
}
|
|
/**
|
|
* @param Google_Service_Cloudbilling_TierRate
|
|
*/
|
|
public function setTieredRates($tieredRates)
|
|
{
|
|
$this->tieredRates = $tieredRates;
|
|
}
|
|
/**
|
|
* @return Google_Service_Cloudbilling_TierRate
|
|
*/
|
|
public function getTieredRates()
|
|
{
|
|
return $this->tieredRates;
|
|
}
|
|
public function setUsageUnit($usageUnit)
|
|
{
|
|
$this->usageUnit = $usageUnit;
|
|
}
|
|
public function getUsageUnit()
|
|
{
|
|
return $this->usageUnit;
|
|
}
|
|
public function setUsageUnitDescription($usageUnitDescription)
|
|
{
|
|
$this->usageUnitDescription = $usageUnitDescription;
|
|
}
|
|
public function getUsageUnitDescription()
|
|
{
|
|
return $this->usageUnitDescription;
|
|
}
|
|
}
|