xxxxxxxxxx
namespace Sabre\CreatePassengerNameRecord\Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for Refundable Structs
* @subpackage Structs
*/
class Refundable extends AbstractStructBase
{
/**
* The Any
* Meta informations extracted from the WSDL
* - use: optional
* @var bool
*/
public $Any;
/**
* The CurrencyCode
* Meta informations extracted from the WSDL
* - use: optional
* @var string
*/
public $CurrencyCode;
/**
* The MaxPenalty
* Meta informations extracted from the WSDL
* - use: optional
* @var string
*/
public $MaxPenalty;
/**
* Constructor method for Refundable
* @uses Refundable::setAny()
* @uses Refundable::setCurrencyCode()
* @uses Refundable::setMaxPenalty()
* @param bool $any
* @param string $currencyCode
* @param string $maxPenalty
*/
public function __construct($any = null, $currencyCode = null, $maxPenalty = null)
{
$this
->setAny($any)
->setCurrencyCode($currencyCode)
->setMaxPenalty($maxPenalty);
}
/**
* Get Any value
* @return bool|null
*/
public function getAny()
{
return $this->Any;
}
/**
* Set Any value
* @param bool $any
* @return \Sabre\CreatePassengerNameRecord\Structs\Refundable
*/
public function setAny($any = null)
{
$this->Any = $any;
return $this;
}
/**
* Get CurrencyCode value
* @return string|null
*/
public function getCurrencyCode()
{
return $this->CurrencyCode;
}
/**
* Set CurrencyCode value
* @param string $currencyCode
* @return \Sabre\CreatePassengerNameRecord\Structs\Refundable
*/
public function setCurrencyCode($currencyCode = null)
{
$this->CurrencyCode = $currencyCode;
return $this;
}
/**
* Get MaxPenalty value
* @return string|null
*/
public function getMaxPenalty()
{
return $this->MaxPenalty;
}
/**
* Set MaxPenalty value
* @param string $maxPenalty
* @return \Sabre\CreatePassengerNameRecord\Structs\Refundable
*/
public function setMaxPenalty($maxPenalty = null)
{
$this->MaxPenalty = $maxPenalty;
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\Refundable
*/
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