walmart-api-php icon indicating copy to clipboard operation
walmart-api-php copied to clipboard

Bugfix for getAnOrder() method

Open jmwill86 opened this issue 1 year ago • 0 comments

Fixes getanOrder() returning null on any order fetch. Majority of amends here are auto code cleanup. Functional changes are:

  • ->order added in src/Apis/MP/US/OrdersApi.php to enable properties to be found in the deserializer.
  • sanitizeTimestamp function was throwing an exception on unix values, and unix values are microseconds.
  • Fix for return values of OrderLine

There's probably some improvements to be made to my amends but I don't have a lot of time to commit currently.

jmwill86 avatar Nov 16 '23 14:11 jmwill86