Hey @Soleone, @BlakeMesdag
Sometimes (ground shipping, and a few other types) fedex does not give us a DeliveryTimestamp to tell us when a package can be delivered. instead, they give us a transit time range (tho sometimes its not a range and just a single number).
This change adds support to parse that transit time field, and if the delivery timestamp is not specified, we calculate a delivery timestamp based on the transit time.
sometimes fedex gives us a transit time in words and no delivery time…
…stamp. in this case, we parse the transit time and calculate a delivery date range from that.
This can be moved into an instance method on the Fedex rate request tests to avoid adding a fixture. Something like this would work:
Where the ...... is the request below.
Fedex uses ONE_DAY
You can ignore the fixture comment, tested and is working with 0/1/2 day responses.