Comments (3)
Neither is possible. You will have to rely solely on the "Name2" field.
One thing you could do however, if you have to get the company name and street2 on the label:
- put the company name on the "Name" field
- put the recipients name on the "ContactPerson" field
- put the additional street on the "Name2" field
I've already contacted DHL about this inconvenience, but they do not seem to care.
from dhl-php-sdk.
Hi thanks for your reply.
I don't find the Function for ContactPerson and Name2. I find it only for $sender not for $receiver?
// Mostly used in bigger Companies
$sender->setContactPerson((string) 'Peter Dragicevic');
Can i use this like this:
// Mostly used in bigger Companies
$receiver->setContactPerson((string) 'Peter Dragicevic');
?
from dhl-php-sdk.
Hello,
yes you can use it also on the Receiver-Class. Both classes have the same parent Class SendPerson
(https://github.com/Petschko/dhl-php-sdk/blob/master/includes/SendPerson.php)
from dhl-php-sdk.
Related Issues (20)
- Remove redundant Code in BusinessShipment.php
- Unauthorized HOT 6
- validateShipment returning statuscode 1 or 0 on refresh HOT 3
- Cases with wrong weak_warning StatusCode HOT 1
- How to create a multi-package-sending? HOT 2
- Geschäftskundenversand-API 3.0 HOT 15
- Geschäftskundenversand-API 3.0 - shipmentNumber HOT 1
- labelFormat Option HOT 5
- GoGreen used in Version 3? HOT 7
- how to connect to production mode using provided credentials HOT 1
- [INFO] about "doManifest" HOT 2
- PHP Version HOT 2
- Exception in extension function java.lang.IllegalArgumentException: is not known
- Endpoints for .com? HOT 1
- returnLabel is empty HOT 5
- SECURITY_VIOLATION HOT 4
- Release of Version HOT 3
- Stuff to fix until 3.0 is fully supported HOT 1
- Encoding: object has no 'ShipmentOrder' property HOT 2
- Failure: Unauthorized HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dhl-php-sdk.