You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: coordinator.rb
    path of file: ./repos/openfoodnetwork/engines/order_management/app/services/order_management/stock
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module OrderManagement
  module Stock
    class Coordinator
      attr_r
    
      def estimate_packages(packages)
        estimator = OrderManagement::Stock::Estimator.new(order)
        packages.each do |package|
          package.shipping_rates = estimator.shipping_rates(package)
        end
        packages
      end