Skip to content

mhndev/saman-travel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is travisa php package

This package has been designed to use travisa travel insurance easy and fast;

How to use ...

Creating a new instance of object
 $azki_travisa = new SamanTravelSoapClient('****', '****');

Getting List Of Countries

 $countries = $azki_travisa->getCountries();

Here is a sample output of getCountries

stdClass Object
    (
        [getCountriesResult] => stdClass Object
        (
            [TISCountryInfo] => Array
            (
                [0] => stdClass Object
                (
                    [errorCode] => -1
                    [errorText] =>
                    [code] => 2
                    [title] => ‏آلمان‏
                    [zoneCode] => -1
                    [standardCode] => DE
                )
                [1] => stdClass Object
                (
                    [errorCode] => -1
                    [errorText] =>
                    [code] => 3
                    [title] => ‏انگلستان‏
                    [zoneCode] => -1
                    [standardCode] => UK
                )
                [2] => stdClass Object
                (
                    [errorCode] => -1
                    [errorText] =>
                    [code] => 4
                    [title] => ‏ايتاليا‏
                    [zoneCode] => -1
                    [standardCode] => IT
                )
            )
        )
    )

About

Saman Insurance Travel Php Api Client

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages