Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/klarna/module-core/Api/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/klarna/module-core/Api/OrderInterface.php

<?php
/**
 * This file is part of the Klarna Core module
 *
 * (c) Klarna Bank AB (publ)
 *
 * For the full copyright and license information, please view the NOTICE
 * and LICENSE files that were distributed with this source code.
 */

namespace Klarna\Core\Api;

interface OrderInterface
{
    /**
     * Get Entity ID
     *
     * @return int
     */
    public function getId();

    /**
     * Set Entity ID
     *
     * @param int $id
     * @return $this
     */
    public function setId($id);

    /**
     * Get Magento Order ID
     *
     * @return int
     */
    public function getOrderId();

    /**
     * Set the Magento Order ID
     *
     * @param int $orderId
     * @return $this
     */
    public function setOrderId($orderId);

    /**
     * Get Reservation ID
     *
     * @return string
     */
    public function getReservationId();

    /**
     * Set Reservation ID
     *
     * @param string $reservationId
     * @return $this
     */
    public function setReservationId($reservationId);

    /**
     * Get Session ID
     *
     * @return string
     */
    public function getSessionId();

    /**
     * Set Session ID
     *
     * @param string $sessionId
     * @return $this
     */
    public function setSessionId($sessionId);

    /**
     * Set Klarna Order ID
     *
     * @param string $orderId
     * @return $this
     */
    public function setKlarnaOrderId($orderId);

    /**
     * Get Klarna Order ID
     *
     * @return string
     */
    public function getKlarnaOrderId();

    /**
     * Set status of acknowledging the order with Klarna
     *
     * @param int $acknowledged
     * @return $this
     */
    public function setIsAcknowledged($acknowledged);

    /**
     * Get status of acknowledging the order with Klarna
     *
     * @return int
     */
    public function getIsAcknowledged();
}