delay => $delay,
(
$estimateddeliverydatefrom
? ( estimated_from => $estimateddeliverydatefrom )
? ( estimated_from => dt_from_string($estimateddeliverydatefrom, 'iso') )
: ()
),
$estimateddeliverydateto
? ( estimated_to => $estimateddeliverydateto )
? ( estimated_to => dt_from_string($estimateddeliverydateto, 'iso') )
)
},
-