DHL-PHP-SDK
v0.4
A wrapper for the DHL-XML-API Version 2
SendPerson.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Petschko\DHL
;
4
16
use
stdClass
;
17
23
abstract
class
SendPerson
extends
Address
{
32
private
$name;
33
43
private
$name2 = null;
44
54
private
$name3 = null;
55
65
private
$phone = null;
66
76
private
$email = null;
77
87
private
$contactPerson = null;
88
92
public
function
__destruct
() {
93
parent::__destruct();
94
unset($this->name);
95
unset($this->name2);
96
unset($this->name3);
97
unset($this->phone);
98
unset($this->email);
99
unset($this->contactPerson);
100
}
101
107
public
function
getName
() {
108
return
$this->name;
109
}
110
116
public
function
setName
($name) {
117
$this->name = $name;
118
}
119
125
public
function
getName2
() {
126
return
$this->name2;
127
}
128
134
public
function
setName2
($name2) {
135
$this->name2 = $name2;
136
}
137
143
public
function
getName3
() {
144
return
$this->name3;
145
}
146
152
public
function
setName3
($name3) {
153
$this->name3 = $name3;
154
}
155
161
public
function
getPhone
() {
162
return
$this->phone;
163
}
164
170
public
function
setPhone
($phone) {
171
$this->phone = $phone;
172
}
173
179
public
function
getEmail
() {
180
return
$this->email;
181
}
182
188
public
function
setEmail
($email) {
189
$this->email = $email;
190
}
191
197
public
function
getContactPerson
() {
198
return
$this->contactPerson;
199
}
200
206
public
function
setContactPerson
($contactPerson) {
207
$this->contactPerson = $contactPerson;
208
}
209
210
218
public
function
getClass_v1
() {
219
trigger_error(
'[DHL-PHP-SDK]: Version 1 Methods are deprecated and will removed soon (Called method '
. __METHOD__ .
')!'
, E_USER_DEPRECATED);
220
trigger_error(
'[DHL-PHP-SDK]: Called Version 1 Method: '
. __METHOD__ .
' is incomplete (does nothing)!'
, E_USER_WARNING);
221
222
return
new
StdClass;
223
}
224
230
abstract
public
function
getClass_v2
();
231
}
Petschko\DHL\SendPerson\getPhone
getPhone()
Definition:
SendPerson.php:161
Petschko\DHL\SendPerson\getClass_v1
getClass_v1()
Definition:
SendPerson.php:218
Petschko\DHL\SendPerson\getName2
getName2()
Definition:
SendPerson.php:125
Petschko\DHL\SendPerson\setEmail
setEmail($email)
Definition:
SendPerson.php:188
Petschko\DHL\SendPerson\setName3
setName3($name3)
Definition:
SendPerson.php:152
Petschko\DHL\Address
Definition:
Address.php:21
Petschko\DHL\SendPerson\getClass_v2
getClass_v2()
Petschko\DHL\SendPerson\getName3
getName3()
Definition:
SendPerson.php:143
Petschko\DHL\SendPerson\setPhone
setPhone($phone)
Definition:
SendPerson.php:170
Petschko\DHL\SendPerson\setName2
setName2($name2)
Definition:
SendPerson.php:134
stdClass
Petschko\DHL\SendPerson\setName
setName($name)
Definition:
SendPerson.php:116
Petschko\DHL\SendPerson
Definition:
SendPerson.php:23
Petschko\DHL\SendPerson\getName
getName()
Definition:
SendPerson.php:107
Petschko\DHL
Definition:
Address.php:3
Petschko\DHL\SendPerson\getContactPerson
getContactPerson()
Definition:
SendPerson.php:197
Petschko\DHL\SendPerson\getEmail
getEmail()
Definition:
SendPerson.php:179
Petschko\DHL\SendPerson\setContactPerson
setContactPerson($contactPerson)
Definition:
SendPerson.php:206
Petschko\DHL\SendPerson\__destruct
__destruct()
Definition:
SendPerson.php:92
includes
SendPerson.php
Generated by
1.8.12