Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class TourSearch {
- public $agencyCode; // string
- public $cityCode; // string
- public $date; // string
- public $tourTypeName; // string
- public $noOfPax; // string
- }
- class TourSearchResponse {
- public $TourSearchResult; // TourSearchResult
- }
- class TourSearchResult {
- public $any; // <anyXML>
- }
- class GetHotelOrCruisePrices {
- public $HotelData; // string
- }
- class GetHotelOrCruisePricesResponse {
- public $GetHotelOrCruisePricesResult; // GetHotelOrCruisePricesResult
- }
- class GetHotelOrCruisePricesResult {
- public $any; // <anyXML>
- }
- class GetHotelSupplements {
- public $HotelCode; // string
- public $DateFrom; // dateTime
- public $DateTo; // dateTime
- }
- class GetHotelSupplementsResponse {
- public $GetHotelSupplementsResult; // GetHotelSupplementsResult
- }
- class GetHotelSupplementsResult {
- public $any; // <anyXML>
- }
- class GetTransferPrices {
- public $Agency; // string
- public $CityFromCode; // string
- public $CityToCode; // string
- public $HotelFromCode; // string
- public $HotelToCode; // string
- public $PortFromCode; // string
- public $PortToCode; // string
- public $dtmDate; // string
- public $TransferPlaceType; // string
- public $TransferExecutionType; // string
- public $noOfPax; // string
- }
- class GetTransferPricesResponse {
- public $GetTransferPricesResult; // GetTransferPricesResult
- }
- class GetTransferPricesResult {
- public $any; // <anyXML>
- }
- class GetOnePackage {
- public $agency; // string
- public $packageCode; // string
- public $date; // string
- public $noOfPax; // string
- }
- class GetOnePackageResponse {
- public $GetOnePackageResult; // GetOnePackageResult
- }
- class GetOnePackageResult {
- public $any; // <anyXML>
- }
- class GetAllPackages {
- public $agency; // string
- public $date; // string
- public $noOfPax; // string
- public $duration; // string
- }
- class GetAllPackagesResponse {
- public $GetAllPackagesResult; // GetAllPackagesResult
- }
- class GetAllPackagesResult {
- public $any; // <anyXML>
- }
- class CreateReservationFile2 {
- public $xmlReservationData; // string
- }
- class CreateReservationFile2Response {
- public $CreateReservationFile2Result; // string
- }
- class HotelsSearch {
- public $HotelData; // string
- }
- class HotelsSearchResponse {
- public $HotelsSearchResult; // HotelsSearchResult
- }
- class HotelsSearchResult {
- public $any; // <anyXML>
- }
- class CreateReservationFile {
- public $xmlReservationData; // string
- }
- class CreateReservationFileResponse {
- public $CreateReservationFileResult; // string
- }
- class CancelPNR {
- public $PNR; // int
- }
- class CancelPNRResponse {
- public $CancelPNRResult; // string
- }
- class ChangePassword {
- public $UserName; // string
- public $Oldpassword; // string
- public $NewPassword; // string
- }
- class ChangePasswordResponse {
- public $ChangePasswordResult; // string
- }
- /**
- * Service class
- *
- *
- *
- * @author {author}
- * @copyright {copyright}
- * @package {package}
- */
- class Service extends SoapClient {
- private static $classmap = array(
- 'TourSearch' => 'TourSearch',
- 'TourSearchResponse' => 'TourSearchResponse',
- 'TourSearchResult' => 'TourSearchResult',
- 'GetHotelOrCruisePrices' => 'GetHotelOrCruisePrices',
- 'GetHotelOrCruisePricesResponse' => 'GetHotelOrCruisePricesResponse',
- 'GetHotelOrCruisePricesResult' => 'GetHotelOrCruisePricesResult',
- 'GetHotelSupplements' => 'GetHotelSupplements',
- 'GetHotelSupplementsResponse' => 'GetHotelSupplementsResponse',
- 'GetHotelSupplementsResult' => 'GetHotelSupplementsResult',
- 'GetTransferPrices' => 'GetTransferPrices',
- 'GetTransferPricesResponse' => 'GetTransferPricesResponse',
- 'GetTransferPricesResult' => 'GetTransferPricesResult',
- 'GetOnePackage' => 'GetOnePackage',
- 'GetOnePackageResponse' => 'GetOnePackageResponse',
- 'GetOnePackageResult' => 'GetOnePackageResult',
- 'GetAllPackages' => 'GetAllPackages',
- 'GetAllPackagesResponse' => 'GetAllPackagesResponse',
- 'GetAllPackagesResult' => 'GetAllPackagesResult',
- 'CreateReservationFile2' => 'CreateReservationFile2',
- 'CreateReservationFile2Response' => 'CreateReservationFile2Response',
- 'HotelsSearch' => 'HotelsSearch',
- 'HotelsSearchResponse' => 'HotelsSearchResponse',
- 'HotelsSearchResult' => 'HotelsSearchResult',
- 'CreateReservationFile' => 'CreateReservationFile',
- 'CreateReservationFileResponse' => 'CreateReservationFileResponse',
- 'CancelPNR' => 'CancelPNR',
- 'CancelPNRResponse' => 'CancelPNRResponse',
- 'ChangePassword' => 'ChangePassword',
- 'ChangePasswordResponse' => 'ChangePasswordResponse',
- );
- public function Service($wsdl = "http://196.218.16.133/onlinereservation/service.asmx?WSDL", $options = array()) {
- foreach(self::$classmap as $key => $value) {
- if(!isset($options['classmap'][$key])) {
- $options['classmap'][$key] = $value;
- }
- }
- parent::__construct($wsdl, $options);
- }
- /**
- *
- *
- * @param TourSearch $parameters
- * @return TourSearchResponse
- */
- public function TourSearch(TourSearch $parameters) {
- return $this->__soapCall('TourSearch', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param GetHotelOrCruisePrices $parameters
- * @return GetHotelOrCruisePricesResponse
- */
- public function GetHotelOrCruisePrices(GetHotelOrCruisePrices $parameters) {
- return $this->__soapCall('GetHotelOrCruisePrices', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param GetHotelSupplements $parameters
- * @return GetHotelSupplementsResponse
- */
- public function GetHotelSupplements(GetHotelSupplements $parameters) {
- return $this->__soapCall('GetHotelSupplements', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param GetTransferPrices $parameters
- * @return GetTransferPricesResponse
- */
- public function GetTransferPrices(GetTransferPrices $parameters) {
- return $this->__soapCall('GetTransferPrices', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param GetOnePackage $parameters
- * @return GetOnePackageResponse
- */
- public function GetOnePackage(GetOnePackage $parameters) {
- return $this->__soapCall('GetOnePackage', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param GetAllPackages $parameters
- * @return GetAllPackagesResponse
- */
- public function GetAllPackages(GetAllPackages $parameters) {
- return $this->__soapCall('GetAllPackages', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param CreateReservationFile2 $parameters
- * @return CreateReservationFile2Response
- */
- public function CreateReservationFile2(CreateReservationFile2 $parameters) {
- return $this->__soapCall('CreateReservationFile2', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param HotelsSearch $parameters
- * @return HotelsSearchResponse
- */
- public function HotelsSearch(HotelsSearch $parameters) {
- return $this->__soapCall('HotelsSearch', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param CreateReservationFile $parameters
- * @return CreateReservationFileResponse
- */
- public function CreateReservationFile(CreateReservationFile $parameters) {
- return $this->__soapCall('CreateReservationFile', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param CancelPNR $parameters
- * @return CancelPNRResponse
- */
- public function CancelPNR(CancelPNR $parameters) {
- return $this->__soapCall('CancelPNR', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- /**
- *
- *
- * @param ChangePassword $parameters
- * @return ChangePasswordResponse
- */
- public function ChangePassword(ChangePassword $parameters) {
- return $this->__soapCall('ChangePassword', array($parameters), array(
- 'uri' => 'http://tsegypt.homeip.net/onlinereservation/service.asmx',
- 'soapaction' => ''
- )
- );
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement