Bambora_Online_Checkout_Api S

Total Complexity 25
Dependencies 4
Dependents 1
Total lines 308
Lines of code 135
Logical lines of code 91
Comment lines 112
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
call_rest_service()
S
50 5 27
test_if_valid_credentials()
S
63 3 10
authorize_subscription()
S
59 2 13
capture()
S
60 2 12
credit()
S
60 2 12
set_checkout_session()
S
64 2 9
__construct()
S
76 1 4
get_checkout_payment_window_url()
S
77 1 4
get_checkout_payment_window_js_url()
S
76 1 4
get_response_code_data()
S
71 1 5
delete()
S
67 1 7
get_transaction()
S
67 1 7
get_transaction_operations()
S
67 1 7
get_payment_types()
S
67 1 7
delete_subscription()
S
67 1 7