Closed estevejm closed 8 years ago
:+1:
@estevejm Minor fix:
'TaxSummary' => $this->jsonSerializeArray($this->getTaxSummary()),
We pulled this in to our fork and are using the Summary document type and noticed it was otherwise empty. Thanks!
@lukestokes you're right, I included the fix in this PR. Thanks!
When you execute
json_encode(GetTaxResult)
you get a json similar to:As you can notice, neither
TaxLines
(with theirTaxDetails
) norMessages
are correctly serialized.Applying this change we could get a more complete serialization, something similar to: