-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathConfirmingClient.php
56 lines (51 loc) · 1.36 KB
/
ConfirmingClient.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php namespace DivideBV\Postnl;
/**
* Client class for CIF's confirming service.
*/
class ConfirmingClient extends BaseClient
{
/**
* @var string The URL of the production WSDL.
*/
const PRODUCTION_WSDL = 'https://api.postnl.nl/shipment/v1_9/confirm/soap.wsdl';
/**
* @var string The URL of the sandbox WSDL.
*/
const SANDBOX_WSDL = 'https://api-sandbox.postnl.nl/shipment/v1_9/confirm/soap.wsdl';
/**
* @var array The complex types used by this client.
*/
protected $classes = [
'ConfirmingMessage',
'Customer',
'Address',
'Message',
'ArrayOfShipment',
'Shipment',
'ArrayOfAddress',
'ArrayOfAmount',
'Amount',
'ArrayOfContact',
'Contact',
'Customs',
'ArrayOfContent',
'Content',
'Dimension',
'ArrayOfGroup',
'Group',
'ArrayOfProductOption',
'ProductOption',
'ArrayOfConfirmingResponseShipment',
'ConfirmingResponseShipment',
'ArrayOfWarning',
'Warning',
];
/**
* @param ComplexTypes\ConfirmingMessage $Confirming
* @return ComplexTypes\ArrayOfConfirmingResponseShipment
*/
public function confirming(ComplexTypes\ConfirmingMessage $Confirming)
{
return $this->__soapCall('Confirming', [$Confirming]);
}
}