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

QuantumView ResidentialAddressIndicator null #191

Closed
tantuohy opened this issue Nov 3, 2017 · 2 comments
Closed

QuantumView ResidentialAddressIndicator null #191

tantuohy opened this issue Nov 3, 2017 · 2 comments
Labels

Comments

@tantuohy
Copy link

tantuohy commented Nov 3, 2017

I'm using the QuantumView class to get Quantum View Data subscription and I don't understand why ResidentialAddressIndicator object has no value (when documentation says it should have value of 0 = Unavailable, 1 = Commercial, 2 = Residential):

      ["DeliveryLocation"]=>
      object(stdClass)#67 (3) {
        ["AddressArtifactFormat"]=>
        object(stdClass)#65 (9) {
          ["StreetNumberLow"]=>
          string(4) "6914"
          ["StreetName"]=>
          string(3) "247"
          ["StreetType"]=>
          string(3) "HWY"
          ["StreetSuffix"]=>
          string(2) "NE"
          ["PoliticalDivision2"]=>
          string(5) "ELGIN"
          ["PoliticalDivision1"]=>
          string(2) "MN"
          ["CountryCode"]=>
          string(2) "US"
          ["PostcodePrimaryLow"]=>
          string(5) "55932"
          ["ResidentialAddressIndicator"]=>
          object(stdClass)#66 (0) {
          }
        }

Is this a bug with the php library?

@stefandoorn
Copy link
Contributor

Not sure either, but I think the fact that it's returned says that it's enabled (haven't used it myself in a while). I'm not 100% sure, but it should be described in the UPS documentation. If you add a logger to your QuantumView object, you can easily capture the raw XML's being sent around to examine better.

@sentiasa
Copy link

sentiasa commented Feb 1, 2019

Hi @tantuohy - I see you've achieved making the QVD events work. I'd be grateful if you can read and shed some light to me - #242.

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

No branches or pull requests

5 participants