'message' =>
$namespace->
get('no_order_id_passed', 'No valid order id passed.'
),
]);
return;
} $billing =
$order->
getBilling();
$shipping =
$order->
getShipping();
// Check if the shipping and billing model already exist. If not create a new instance.
if (!
$shipping instanceof Shipping
) { $shipping =
new Shipping();
} if (!
$billing instanceof Billing
) { $billing =
new Billing();
} // Get all passed order data
$data =
$this->
Request()->
getParams();
if ($order->
getChanged() !== null
) { try { $changed =
new DateTime($data['changed'
]);
}