PHP code example of decrypted / id3global-service
1. Go to this page and download the library: Download decrypted/id3global-service library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
decrypted / id3global-service example snippets
/**
* Namespaces:
*
* \ID3Global\Constants\Identity
* \ID3Global\Gateways\GlobalAuthenticationGateway
* \ID3Global\Services\GlobalAuthenticationService
* \ID3Global\Identity\Address\FreeFormatAddress
* \ID3Global\Identity\Address\FixedFormatAddress
* \ID3Global\Identity\ContactDetails
* \ID3Global\Identity\ContactDetails\LandTelephone
* \ID3Global\Identity\ContactDetails\MobileTelephone
* \ID3Global\Identity\ContactDetails\WorkTelephone
* \ID3Global\Identity\Documents\NZ\DrivingLicence
* \ID3Global\Identity\PersonalDetails
*
* \ID3Global\Identity\Addresses<\ID3Global\Identity\Address\FreeFormatAddress, \ID3Global\Identity\Address\FixedFormatAddress>
* - CurrentAddress
* - PreviousAddress[1-3]
* - HistoricAddresses<\ID3Global\Identity\Address\FreeFormatAddress, \ID3Global\Identity\Address\FixedFormatAddress>
*
* \ID3Global\Identity\Documents
*
* Not core for implementation
* \ID3Global\Identity\Aliases
* \ID3Global\Identity\AlternateName
* \ID3Global\Identity\BankingDetails\BankAccount
* \ID3Global\Identity\BankingDetails\CreditDebitCard
* \ID3Global\Identity\Documents\Address\UK\ElectricitySupplier
* \ID3Global\Identity\Documents\Identity\Global\InternationalPassport
* \ID3Global\Identity\Documents\Identity\Europe\EuropeanIdentityCard
* \ID3Global\Identity\Documents\Identity\AU\ShortPassport
* \ID3Global\Identity\Documents\Identity\AU\Medicare
* \ID3Global\Identity\Documents\Identity\BR\CPFNumber
* \ID3Global\Identity\Documents\Identity\CA\SocialInsuranceNumber
* \ID3Global\Identity\Documents\Identity\CN\ResidentIdentityCard
* \ID3Global\Identity\Documents\Identity\ES\TaxIDNumber
* \ID3Global\Identity\Documents\Identity\MX\TaxIdentificationNumber
* \ID3Global\Identity\Documents\Identity\UK\Passport
* \ID3Global\Identity\Documents\Identity\UK\DrivingLicence
* \ID3Global\Identity\Documents\Identity\UK\NationalInsuranceNumber
* \ID3Global\Identity\Documents\Identity\UK\DrivingLicence
* \ID3Global\Identity\Documents\Identity\US\DrivingLicence
* \ID3Global\Identity\Documents\Identity\US\SocialSecurity
* \ID3Global\Identity\Documents\Identity\US\IdentityCard
* \ID3Global\Identity\Employment
* \ID3Global\Identity\GlobalGeneric
* \ID3Global\Identity\Images
* \ID3Global\Identity\Location
* \ID3Global\Identity\PersonalDetails\BirthInfo
*/
$personalDetails = new \ID3Global\Identity\PersonalDetails();
$personalDetails
->setTitle('Mr')
->setForeName('Dworkin')
->setMiddleName('John')
->setSurname('Barimen')
->setGender(ID3GlobalService::GENDER_MALE)
->setDateOfBirth(1922, 08, 20);
$currentAddress = new \ID3Global\Identity\Address\FreeFormatAddress();
$currentAddress
->setCountry(ID3GlobalService::COUNTRY_NZ)
->setZipPostcode(90210)
// You can set up to 8 address lines if