Just glancing at this project for possible future use, and noticed what seems like an issue with the documentation:
// Either get the Code object and read it's code and/or value
$type = $product->getNotificationType();
$code = $code->getCode(); // "03"
$value = $code->getValue(); // "Notification confirmed on publication"
I assume the second line of code should read:
$code = $type->getCode();
Since $code was not defined prior to this line. I haven't dug into the code itself, but that strikes me as probably incorrect.
Apologies if I've misunderstood!
Just glancing at this project for possible future use, and noticed what seems like an issue with the documentation:
I assume the second line of code should read:
$code = $type->getCode();
Since $code was not defined prior to this line. I haven't dug into the code itself, but that strikes me as probably incorrect.
Apologies if I've misunderstood!