Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
reindertvetter committed Aug 22, 2016
1 parent bda87af commit 9f63366
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,28 +45,6 @@ Also the php curl extension needs to be installed.
### Quick start and examples

```php
use DivideBV\Postnl\Postnl;
use DivideBV\Postnl\ComplexTypes;

// Create client class using credentials received from PostNL.
$client = new Postnl(
12345678, // Customer number
'ABCD', // Customer code
'Acme BV', // Customer name
'Acme', // Username
'Password', // Password
123456, // Collection location
'CD1234', // Globalpack
true // Whether to use PostNL's sandbox environment.
);

/**
* Jan Smit
* Smit & Zonen
* Hoofdstraat 1A
* 1234 AB Heikant
* The Netherlands
*/
$receiverAddress = ComplexTypes\Address::create()
->setAddressType('01')
->setFirstName('Jan')
Expand Down

0 comments on commit 9f63366

Please sign in to comment.