alfallouji / DHL-API

This library provides a PHP client for the DHL XML Services. DHL XML Services is an online web services integration capability that provides DHL’s service availability, transit times, rates, shipment and courier pickup booking along with shipment tracking from over 140 countries around the world. Using DHL’s XML Services, customers can incorporate DHL shipping functionality into their websites, customer service applications or order processing systems.
191 stars 148 forks source link

Add DocImages node #40

Open vitalianoco opened 5 years ago

vitalianoco commented 5 years ago

hi! how to add a DocImages node? $docimage = new DocImage(); $docimage->Type = 'CIN'; $docimage->Image = ''; $docimage->ImageFormat = 'PDF'; $sample->DocImages->addDocImage($docimage); don't work Ps: sorry for my english

vitalianoco commented 5 years ago

solved: use DHL\Datatype\GB\DocImage; $docimage = new DocImage(); $docimage->Type = 'CIN'; $docimage->Image = ''; $docimage->ImageFormat = 'PDF';
$sample->addDocImages($docimage); thanks!