WC_Payments_API_Client D

Total Complexity 256
Dependencies 27
Dependents 36
Total lines 2,871
Lines of code 1,456
Logical lines of code 518
Comment lines 998
Methods 105
Properties 4

Methods 105

Method Rating Maintainability Complexity Lines of code
check_response_for_errors()
B
36 18 77
request()
A
35 13 86
get_timeline()
A
44 12 45
add_formatted_address_to_charge_object()
S
57 8 15
deserialize_payment_intention_object_from_array()
S
47 5 37
get_recommended_payment_methods()
S
47 4 39
get_fraud_outcome_transactions_search_autocomplete()
S
48 4 36
upload_file()
S
49 4 31
get_transactions_export()
S
58 5 15
update_dispute()
S
53 4 22
update_customer()
S
55 4 21
get_transactions_search_autocomplete()
S
54 4 21
update_product()
S
55 4 21
update_price()
S
55 4 21
get_latest_fraud_outcome()
S
56 4 18
update_terminal_location()
S
56 4 18
close_dispute()
S
56 4 17
get_dispute()
S
58 4 15
maybe_act_on_fraud_prevention()
S
65 5 9
deserialize_setup_intention_object_from_array()
S
50 3 30
build_order_info()
S
53 3 22
get_currency_rates()
S
57 3 18
deserialize_charge_object_from_array()
S
49 2 32
get_link()
S
58 3 16
list_fraud_outcome_transactions_summary()
S
58 3 15
extract_response_body()
S
63 4 10
get_file_contents()
S
58 3 15
get_transaction()
S
59 3 14
register_terminal_reader()
S
60 3 13
get_onboarding_fields_data()
S
56 2 20
initialize_onboarding_embedded_kyc()
S
55 2 19
create_terminal_location()
S
56 2 19
get_payment_methods()
S
57 2 18
get_disputes_export()
S
65 3 9
get_customer_url()
S
59 2 15
get_intent_description()
S
63 3 10
get_deposits_export()
S
65 3 9
update_charge()
S
60 2 14
cancel_subscription()
S
60 2 14
get_charge()
S
60 2 14
update_subscription()
S
60 2 14
update_invoice()
S
60 2 14
charge_invoice()
S
60 2 14
get_invoice()
S
60 2 14
get_currency_minimum_recurring_amount()
S
60 2 14
get_payment_method()
S
60 2 14
update_subscription_item()
S
60 2 14
get_subscription()
S
60 2 14
update_payment_method()
S
60 2 14
detach_payment_method()
S
60 2 14
update_transaction()
S
60 2 14
get_onboarding_business_types()
S
62 2 13
get_transactions_summary()
S
61 2 12
get_intent()
S
62 2 11
get_onboarding_data()
S
57 1 17
get_file()
S
63 2 10
get_authorization()
S
63 2 10
delete_terminal_location()
S
63 2 10
get_document()
S
63 2 10
get_readers_charge_summary()
S
68 2 7
create_embedded_account_session()
S
68 2 7
add_order_info_to_object()
S
69 2 7
get_blog_id()
S
79 2 3
save_vat_details()
S
62 1 13
request_capability()
S
63 1 12
delete_account()
S
64 1 11
register_domain()
S
66 1 10
list_fraud_outcome_transactions()
S
63 1 10
get_order_info_from_intention_object()
S
72 1 5
add_order_info_to_charge_object()
S
73 1 5
get_disputes_summary()
S
78 1 3
get_payouts_export_url()
S
77 1 3
get_disputes_export_url()
S
77 1 3
get_transactions_export_url()
S
77 1 3
get_fraud_outcome_transactions_export()
S
69 1 7
manual_deposit()
S
66 1 10
add_additional_info_to_charge()
S
73 1 5
uuid()
S
68 1 6
get_deposits_summary()
S
78 1 3
start_server_connection()
S
81 1 3
get_fingerprint_metadata()
S
73 1 5
get_authorizations_summary()
S
78 1 3
has_server_connection_owner()
S
81 1 3
get_woopay_compatibility()
S
69 1 8
get_disputes()
S
79 1 3
is_json_response()
S
77 1 3
link_session_to_customer()
S
65 1 10
save_fraud_ruleset()
S
66 1 10
track_order()
S
65 1 10
create_subscription()
S
71 1 7
is_server_connected()
S
81 1 3
get_failed_webhook_events()
S
79 1 3
get_documents_summary()
S
78 1 3
create_product()
S
71 1 7
get_product_by_id()
S
70 1 7
get_latest_fraud_ruleset()
S
69 1 8
create_token()
S
79 1 3
create_customer()
S
68 1 8
update_compatibility_data()
S
66 1 10
get_tracking_info()
S
70 1 7
send_request()
S
66 1 10
finalize_onboarding_embedded_kyc()
S
66 1 8
update_woopay()
S
66 1 10
get_woopay_eligibility()
S
67 1 9
__construct()
S
74 1 5