<?php

namespace Mtc\Plugins\DeliveryCouriers\Classes;

/**
 * Interface DeliveryCourierOrderMap
 *
 * @author Martins Fridenbergs <martins.fridenbergs@mtcmedia.co.uk>
 */
interface DeliveryCourierOrderMap
{
    /**
     * Mapping class needs to be able to map the order to the format required by API
     *
     * @param \Order $order
     * @return array
     */
    public function map(\Order $order): array;
}
