WC_Payments_API_Client D

Total Complexity 225
Dependencies 26
Dependents 34
Total lines 2,511
Lines of code 1,215
Logical lines of code 446
Comment lines 948
Methods 100
Properties 4

Methods 100

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