xxxxxxxxxx
namespace Sabre\CreatePassengerNameRecord\Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for Totals Structs
* @subpackage Structs
*/
class Totals extends AbstractStructBase
{
/**
* The BaseFare
* Meta informations extracted from the WSDL
* - minOccurs: 0
* @var \Sabre\CreatePassengerNameRecord\Structs\BaseFare
*/
public $BaseFare;
/**
* The EquivFare
* Meta informations extracted from the WSDL
* - minOccurs: 0
* @var \Sabre\CreatePassengerNameRecord\Structs\EquivFare
*/
public $EquivFare;
/**
* The Taxes
* Meta informations extracted from the WSDL
* - minOccurs: 0
* @var \Sabre\CreatePassengerNameRecord\Structs\Taxes
*/
public $Taxes;
/**
* The TotalFare
* Meta informations extracted from the WSDL
* - minOccurs: 0
* @var \Sabre\CreatePassengerNameRecord\Structs\TotalFare
*/
public $TotalFare;
/**
* Constructor method for Totals
* @uses Totals::setBaseFare()
* @uses Totals::setEquivFare()
* @uses Totals::setTaxes()
* @uses Totals::setTotalFare()
* @param \Sabre\CreatePassengerNameRecord\Structs\BaseFare $baseFare
* @param \Sabre\CreatePassengerNameRecord\Structs\EquivFare $equivFare
* @param \Sabre\CreatePassengerNameRecord\Structs\Taxes $taxes
* @param \Sabre\CreatePassengerNameRecord\Structs\TotalFare $totalFare
*/
public function __construct(\Sabre\CreatePassengerNameRecord\Structs\BaseFare $baseFare = null, \Sabre\CreatePassengerNameRecord\Structs\EquivFare $equivFare = null, \Sabre\CreatePassengerNameRecord\Structs\Taxes $taxes = null, \Sabre\CreatePassengerNameRecord\Structs\TotalFare $totalFare = null)
{
$this
->setBaseFare($baseFare)
->setEquivFare($equivFare)
->setTaxes($taxes)
->setTotalFare($totalFare);
}
/**
* Get BaseFare value
* @return \Sabre\CreatePassengerNameRecord\Structs\BaseFare|null
*/
public function getBaseFare()
{
return $this->BaseFare;
}
/**
* Set BaseFare value
* @param \Sabre\CreatePassengerNameRecord\Structs\BaseFare $baseFare
* @return \Sabre\CreatePassengerNameRecord\Structs\Totals
*/
public function setBaseFare(\Sabre\CreatePassengerNameRecord\Structs\BaseFare $baseFare = null)
{
$this->BaseFare = $baseFare;
return $this;
}
/**
* Get EquivFare value
* @return \Sabre\CreatePassengerNameRecord\Structs\EquivFare|null
*/
public function getEquivFare()
{
return $this->EquivFare;
}
/**
* Set EquivFare value
* @param \Sabre\CreatePassengerNameRecord\Structs\EquivFare $equivFare
* @return \Sabre\CreatePassengerNameRecord\Structs\Totals
*/
public function setEquivFare(\Sabre\CreatePassengerNameRecord\Structs\EquivFare $equivFare = null)
{
$this->EquivFare = $equivFare;
return $this;
}
/**
* Get Taxes value
* @return \Sabre\CreatePassengerNameRecord\Structs\Taxes|null
*/
public function getTaxes()
{
return $this->Taxes;
}
/**
* Set Taxes value
* @param \Sabre\CreatePassengerNameRecord\Structs\Taxes $taxes
* @return \Sabre\CreatePassengerNameRecord\Structs\Totals
*/
public function setTaxes(\Sabre\CreatePassengerNameRecord\Structs\Taxes $taxes = null)
{
$this->Taxes = $taxes;
return $this;
}
/**
* Get TotalFare value
* @return \Sabre\CreatePassengerNameRecord\Structs\TotalFare|null
*/
public function getTotalFare()
{
return $this->TotalFare;
}
/**
* Set TotalFare value
* @param \Sabre\CreatePassengerNameRecord\Structs\TotalFare $totalFare
* @return \Sabre\CreatePassengerNameRecord\Structs\Totals
*/
public function setTotalFare(\Sabre\CreatePassengerNameRecord\Structs\TotalFare $totalFare = null)
{
$this->TotalFare = $totalFare;
return $this;
}
/**
* Method called when an object has been exported with var_export() functions
* It allows to return an object instantiated with the values
* @see AbstractStructBase::__set_state()
* @uses AbstractStructBase::__set_state()
* @param array $array the exported values
* @return \Sabre\CreatePassengerNameRecord\Structs\Totals
*/
public static function __set_state(array $array)
{
return parent::__set_state($array);
}
/**
* Method returning the class name
* @return string __CLASS__
*/
public function __toString()
{
return __CLASS__;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO