Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DocImages node #40

Open
vitalianoco opened this issue Jan 10, 2019 · 1 comment
Open

Add DocImages node #40

vitalianoco opened this issue Jan 10, 2019 · 1 comment

Comments

@vitalianoco
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant