luyadev/luya-module-payment

View on GitHub
src/base/OrderInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace luya\payment\base;

/**
 * An attachable interface to ensure estore integration.
 *
 * This is just a recommendation for the payment process inside
 * your application and is not used by the payment process itself.
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
interface OrderInterface
{
    public function getId();

    public function createOrderId($prefix = null);

    public function createToken();

    public function updatePayId($payId);

    public function getPayId();

    public function isClosed();
}