<?php
/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_MpPayPal
 * @author    Webkul
 * @copyright Copyright (c) Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */
namespace Webkul\MpPayPal\Api;

/**
 * @api
 */
interface PayPalOrderManagementInterface
{

    /**
     * doSellerOrderInvoice function to create invoice seller wise.
     *
     * @param Magento\Sales\Model\Order $order
     * @param array  $cart   seller wise payment data
     * @param array  $sellerData paypal charge data of payment
     * @param string $transactionId
     * @param int $sellerCount
     * @param array $shippingArray
     *
     * return mixed
     */
    public function doSellerOrderInvoice($order, $sellerData, $transactionId, $sellerCount, $shippingArray);

    /**
     * doTransaction function to create payment transations.
     *
     * @param Magento\Sales\Model\Order $order
     * @param array  $sellerData
     *
     * @return mixed
     */
    public function doTransaction($order, $sellerData);

    /**
     * create order method.
     *
     * @param array $orderData
     *
     * @return mixed
     */
    public function createOrder($orderData);
}
