ePages 7.23.0 - DE_EPAGES/DHLIntraship/API/BuildLoginData.pm

Package DE_EPAGES::DHLIntraship::API::BuildLoginData

Assembles Login Data

Functions

getAsHash
new
withDeveloperAuthentication
withEndPoint

getAsHash

Returns Login Data as Hash

Syntax
getAsHash( );
Return
$hLoginData (refhash)
The login data

new

Constructor

Syntax
new( $IsTestTransaction );
Input
$IsTestTransaction (boolean)
is test transaction
Return
$self (DE_EPAGES::DHLIntraship::API::BuildLoginData)
self

withDeveloperAuthentication

store the username and password for our developer account in the class fields

Syntax
withDeveloperAuthentication( $DeveloperAuthentication );
Input
DeveloperAuthentication (DE_EPAGES::DHLIntraship::API::DeveloperAuthentication)
developer authentication object
Return
$self (DE_EPAGES::DHLIntraship::API::BuildLoginData)
self for call chaining

withEndPoint

store the endpoint URL in the fields

Syntax
withEndPoint( $BuildEndPoint );
Input
$BuildEndPoint (DE_EPAGES::DHLIntraship::API::BuildEndPoint)
is a BuildEndPoint object
Return
$self (DE_EPAGES::DHLIntraship::API::BuildLoginData)
self for call chaining