Woo_PayPal_Gateway_PayPal_Rest_API_Handler B

Total Complexity 89
Dependencies 21
Dependents 1
Total lines 409
Lines of code 359
Logical lines of code 232
Comment lines 0
Methods 21
Properties 22

Methods 21

Method Rating Maintainability Complexity Lines of code
create_payment_request()
A
42 9 52
create_refund_request()
A
46 10 34
save_payment_token()
S
56 7 18
wpg_set_card_data()
S
52 6 22
wpg_set_fundinginstrument()
S
55 6 20
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
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
57 3 16
is_subscription()
S
77 4 3
wpg_save_card_data_in_vault()
S
62 3 12
wpg_set_shipping_address()
S
54 2 21
is_renewal()
S
77 3 3
wpg_set_transaction()
S
58 2 14
wpg_add_payment_method()
S
61 2 13
wpg_set_payment()
S
65 2 10
wpg_set_payer()
S
66 2 9
wpg_return_checkout_order_received_url()
S
65 2 10