Giter Site home page Giter Site logo

Comments (3)

Mwni avatar Mwni commented on May 21, 2024

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.

digitaltim-de avatar digitaltim-de commented on May 21, 2024

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.

Petschko avatar Petschko commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.