DHL-PHP-SDK  v0.4
A wrapper for the DHL-XML-API Version 2
IdentCheck Class Reference

Public Member Functions

 __construct ($lastName, $firstName, $birthday, $minimumAge)
 
 __destruct ()
 
 getLastName ()
 
 getFirstName ()
 
 getBirthday ()
 
 getMinimumAge ()
 
 getIdentClass_v1 ()
 
 getIdentClass_v2 ()
 

Detailed Description

Definition at line 23 of file IdentCheck.php.

Constructor & Destructor Documentation

§ __construct()

__construct (   $lastName,
  $firstName,
  $birthday,
  $minimumAge 
)

IdentCheck constructor.

Parameters
string$lastName- Last-Name
string$firstName- First-Name
string$birthday- Birthday (Format: YYYY-MM-DD)
int$minimumAge- Minimum-Age

Definition at line 62 of file IdentCheck.php.

§ __destruct()

__destruct ( )

Clears Memory

Definition at line 72 of file IdentCheck.php.

Member Function Documentation

§ getBirthday()

getBirthday ( )

Get the Birthday

Returns
string - Birthday

Definition at line 120 of file IdentCheck.php.

§ getFirstName()

getFirstName ( )

Get the First-Name

Returns
string - First-Name

Definition at line 102 of file IdentCheck.php.

§ getIdentClass_v1()

getIdentClass_v1 ( )

Get the Ident-DHL-Class

Returns
stdClass - Ident-DHL-Class
Deprecated:
  • DHL-API-Version 1 Method

Definition at line 158 of file IdentCheck.php.

§ getIdentClass_v2()

getIdentClass_v2 ( )

Get the Ident-DHL-Class

Returns
StdClass - Ident-DHL-Class

Definition at line 170 of file IdentCheck.php.

§ getLastName()

getLastName ( )

Get the Last-Name

Returns
string - Last-Name

Definition at line 84 of file IdentCheck.php.

§ getMinimumAge()

getMinimumAge ( )

Get the minimum Age

Returns
int - Minimum Age

Definition at line 138 of file IdentCheck.php.


The documentation for this class was generated from the following file: