PAFW_Payment_Gateway D

Total Complexity 265
Dependencies 6
Dependents 10
Total lines 1,121
Lines of code 878
Logical lines of code 509
Comment lines 29
Methods 81
Properties 8

Methods 81

Method Rating Maintainability Complexity Lines of code
has_enough_stock()
A
55 13 16
cancel_order()
A
43 11 45
process_auth_subscription_payment()
A
44 9 45
is_available()
A
58 11 13
process_key_in_subscription_payment()
A
44 9 43
get_order()
A
53 10 22
handle_exception()
A
51 9 23
cancel_subscription()
A
53 8 21
get_description()
S
57 8 15
wc_api_request_payment()
S
56 7 16
validate_order_status()
S
57 7 14
cancel_unpaid_order()
S
53 6 20
process_additional_charge()
S
48 5 31
subscription_cancel_batch_key()
S
57 6 15
woocommerce_scheduled_subscription_payment()
S
53 5 22
refund_request()
S
53 5 22
issue_cash_receipt()
S
47 4 36
add_payment_log()
S
58 5 15
woocommerce_view_order()
S
58 4 16
cancel_cash_receipt()
S
50 3 31
woocommerce_email_before_order_table()
S
68 5 6
mshop_email_customer_details()
S
68 5 6
get_title()
S
63 5 9
__construct()
S
53 3 22
clear_bill_key()
S
56 3 20
my_account_my_orders_actions()
S
55 3 18
is_fully_refundable()
S
75 4 3
payment_complete()
S
69 4 6
get_order_items()
S
57 3 15
subscription_additional_charge()
S
60 3 12
process_payment_response()
S
61 3 12
delete_payment_method()
S
61 3 12
wc_api_request_cancel()
S
62 3 11
get_card_param()
S
64 3 9
check_shop_order_capability()
S
71 3 5
get_cash_receipts()
S
68 3 7
is_refundable()
S
65 3 8
escrow_register_delivery_info()
S
62 3 10
get_transaction_id()
S
69 3 7
wc_api_request_fail()
S
63 3 10
get_payment_form()
S
61 2 12
get_api_url()
S
66 2 8
process_order_pay()
S
66 2 8
cancel_bill_key()
S
71 2 6
subscription_cancel_additional_charge()
S
64 2 9
thankyou_page()
S
64 2 9
get_order_id_from_txnid()
S
68 2 7
add_log()
S
71 2 6
get_txnid()
S
65 2 9
payment_window_mode()
S
71 2 7
woocommerce_payment_complete_order_status()
S
71 2 6
subscription_payment_info()
S
68 1 6
get_logo_url()
S
78 1 3
get_pg_title()
S
83 1 3
issue_bill_key_mode()
S
83 1 3
cancel_payment_request_by_user()
S
78 1 4
process_refund()
S
78 1 3
cancel_bill_key_when_change_to_same_payment_method()
S
83 1 3
get_gateway_params()
S
67 1 8
get_payment_form_params_by_gateway()
S
100 1 2
get_api_version()
S
83 1 3
is_test_key()
S
80 1 3
adjust_settings()
S
100 1 2
issue_bill_key_when_change_payment_method()
S
83 1 3
is_escrow()
S
81 1 3
process_payment()
S
72 1 5
get_escrow_company_name()
S
80 1 3
clear_txnid()
S
78 1 4
validate_txnid()
S
80 1 3
get_master_id()
S
83 1 3
validate_payment_method_of_order()
S
80 1 3
is_vbank()
S
81 1 3
change_payment_method_for_subscription()
S
82 1 3
enqueue_frontend_script()
S
82 1 3
gateway_url()
S
78 1 3
get_receipt_popup_params()
S
83 1 3
get_merchant_id()
S
83 1 3
get_subscription_meta_key()
S
80 1 3
get_card_field_name()
S
79 1 3
gateway_domain()
S
82 1 3
quota_field()
S
72 1 5