A modest collection of PHP libraries used at SparkFun.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

124 lines
1.8 KiB

<?php
namespace SparkLib\UPS\Rate;
class DimensionsType
{
/**
*
* @var CodeDescriptionType $UnitOfMeasurement
* @access public
*/
public $UnitOfMeasurement = null;
/**
*
* @var string $Length
* @access public
*/
public $Length = null;
/**
*
* @var string $Width
* @access public
*/
public $Width = null;
/**
*
* @var string $Height
* @access public
*/
public $Height = null;
/**
*
* @param CodeDescriptionType $UnitOfMeasurement
* @param string $Length
* @param string $Width
* @param string $Height
* @access public
*/
public function __construct($UnitOfMeasurement = null, $Length = null, $Width = null, $Height = null)
{
$this->UnitOfMeasurement = $UnitOfMeasurement;
$this->Length = $Length;
$this->Width = $Width;
$this->Height = $Height;
}
/**
*
* @return CodeDescriptionType
*/
public function getUnitOfMeasurement()
{
return $this->UnitOfMeasurement;
}
/**
*
* @param CodeDescriptionType $UnitOfMeasurement
*/
public function setUnitOfMeasurement($UnitOfMeasurement)
{
$this->UnitOfMeasurement = $UnitOfMeasurement;
}
/**
*
* @return string
*/
public function getLength()
{
return $this->Length;
}
/**
*
* @param string $Length
*/
public function setLength($Length)
{
$this->Length = $Length;
}
/**
*
* @return string
*/
public function getWidth()
{
return $this->Width;
}
/**
*
* @param string $Width
*/
public function setWidth($Width)
{
$this->Width = $Width;
}
/**
*
* @return string
*/
public function getHeight()
{
return $this->Height;
}
/**
*
* @param string $Height
*/
public function setHeight($Height)
{
$this->Height = $Height;
}
}