DivideBV / Postnl

Library to connect to PostNL's SOAP service called CIF
GNU General Public License v2.0
31 stars 40 forks source link

generate pick-up label #57

Closed matthijs-neijenhuijs closed 6 years ago

matthijs-neijenhuijs commented 7 years ago

For generating a pick-up label we need to set a address for the customer. See:

https://developer.postnl.nl/apis//pickup-postnl-location-shipment-labelling-example

It is not possible to setAddress for client.

ameenross commented 7 years ago

You don't set the address on the client. You create an object of the correct type and pass it to the function. You should be able to adapt the example in the readme to return a pickup label.