| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <?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();
- }
|