-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathAPI.php
More file actions
98 lines (57 loc) · 1.89 KB
/
API.php
File metadata and controls
98 lines (57 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?php
namespace SkyVerge\WooCommerce\TestPlugin;
use SkyVerge\WooCommerce\PluginFramework\v6_1_4 as Framework;
defined( 'ABSPATH' ) or exit;
class API extends Framework\SV_WC_API_Base implements Framework\SV_WC_Payment_Gateway_API {
protected function get_new_request( $args = array() ) {
// TODO: Implement get_new_request() method.
}
public function credit_card_authorization( \WC_Order $order ) {
// TODO: Implement credit_card_authorization() method.
}
public function credit_card_charge( \WC_Order $order ) {
// TODO: Implement credit_card_charge() method.
}
public function credit_card_capture( \WC_Order $order ) {
// TODO: Implement credit_card_capture() method.
}
public function check_debit( \WC_Order $order ) {
// TODO: Implement check_debit() method.
}
public function refund( \WC_Order $order ) {
// TODO: Implement refund() method.
}
public function void( \WC_Order $order ) {
// TODO: Implement void() method.
}
public function tokenize_payment_method( \WC_Order $order ) {
// TODO: Implement tokenize_payment_method() method.
}
public function update_tokenized_payment_method( \WC_Order $order ) {
// TODO: Implement update_tokenized_payment_method() method.
}
public function supports_update_tokenized_payment_method() {
return false;
}
public function remove_tokenized_payment_method( $token, $customer_id ) {
// TODO: Implement remove_tokenized_payment_method() method.
}
public function supports_remove_tokenized_payment_method() {
return false;
}
public function get_tokenized_payment_methods( $customer_id ) {
// TODO: Implement get_tokenized_payment_methods() method.
}
public function supports_get_tokenized_payment_methods() {
return false;
}
public function get_order(){
// TODO: Implement get_order() method.
}
/**
* @return Plugin
*/
protected function get_plugin() {
return sv_wc_test_plugin();
}
}