DivideBV / Postnl

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

Using an multi-colli #56

Closed qualityplatforms closed 7 years ago

qualityplatforms commented 7 years ago

Hello there,

Has this class the possibility to request an multi-colli? And if this is possible, can someone give me an example how to use this?

Thanks in advance. Best regards, Mark.

slokhorst commented 7 years ago

Yup, see wiki/Multi-collo-shipment.

qualityplatforms commented 7 years ago

Why won't this work? $result = $client->generateLabels(new ComplexTypes\ArrayOfShipment([$shipment1,$shipment2])); $result->getLabels()[0];

I get the following error:

Fatal error: Call to undefined method DivideBV\Postnl\ComplexTypes\GenerateLabelResponse::getLabels()

slokhorst commented 7 years ago

See #44