Merge branch '2.0'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / payment / type / IPaymentType.class.php
1 <?php
2 namespace wcf\system\payment\type;
3
4 /**
5 * Default interface for payment types.
6 *
7 * @author Marcel Werk
8 * @copyright 2001-2014 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
11 * @subpackage system.payment.type
12 * @category Community Framework
13 */
14 interface IPaymentType {
15 /**
16 * Processes the given transaction.
17 *
18 * @param integer $paymentMethodObjectTypeID
19 * @param string $token
20 * @param float $amount
21 * @param string $currency
22 * @param string $transactionID
23 * @param string $status
24 * @param array $transactionDetails
25 */
26 public function processTransaction($paymentMethodObjectTypeID, $token, $amount, $currency, $transactionID, $status, $transactionDetails);
27 }