PluginProbe
Bookit — Booking & Appointment Calendar / 2.6.0.5
Bookit — Booking & Appointment Calendar v2.6.0.5
2.6.0.5 2.6.0.4 2.6.0.3 2.6.0.2 2.6.0.1 2.6.0 trunk 1.2 1.2.2 1.2.3 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 All 62 releases
bookit / src / Bookit / Gateways / Contracts / Merchant_Interface.php

Merchant_Interface.php in Bookit — Booking & Appointment Calendar 2.6.0.5, at src/Bookit/Gateways/Contracts/Merchant_Interface.php

53 lines 742 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Bookit\Gateways\Contracts;
4
5 /**
6 * Merchant Interface
7 *
8 * @since 2.5.0
9 *
10 * @package Bookit\Gateways\Contracts
11 */
12 interface Merchant_Interface {
13
14 /**
15 * Gets the account key.
16 *
17 * @since 2.5.0
18 *
19 * @return string
20 */
21 public function get_account_key();
22
23 /**
24 * Save merchant data.
25 *
26 * @since 2.5.0
27 *
28 * @return boolean
29 */
30 public function save();
31
32 /**
33 * Transforms the Merchant data into an array.
34 *
35 * @since 2.5.0
36 *
37 * @return array
38 */
39 public function to_array();
40
41 /**
42 * Creates this object from an array.
43 *
44 * @since 2.5.0
45 *
46 * @param array $data
47 * @param boolean $needs_save
48 *
49 * @return boolean
50 */
51 public function from_array( array $data, $needs_save = true );
52
53 }