Woo_PayPal_Gateway_PayPal_Rest_API_Handler C

Total Complexity 103
Dependencies 21
Dependents 1
Total lines 410
Lines of code 360
Logical lines of code 233
Comment lines 0
Methods 21
Properties 22

Methods 21

Method Rating Maintainability Complexity Lines of code
create_refund_request()
A
46 11 34
create_payment_request()
A
42 9 52
wpg_set_shipping_address()
A
52 10 21
save_payment_token()
A
55 9 18
wpg_set_card_data()
S
52 6 22
wpg_set_fundinginstrument()
S
55 6 19
is_request_using_save_card_data()
S
57 6 17
wpg_set_detail_amount()
S
55 5 20
is_save_card_data()
S
60 5 14
wpg_set_transaction()
S
56 4 16
getAuth()
S
57 4 14
wpg_save_card_data_in_woo()
S
55 3 20
wpg_set_item_list()
S
57 3 17
wpg_set_card_token()
S
58 3 15
is_subscription()
S
77 4 3
wpg_save_card_data_in_vault()
S
62 3 12
wpg_return_checkout_order_received_url()
S
62 3 11
is_renewal()
S
77 3 3
wpg_add_payment_method()
S
61 2 13
wpg_set_payment()
S
65 2 10
wpg_set_payer()
S
66 2 9