WC_Braintree_API_Transaction_Request S

Total Complexity 31
Dependencies 1
Dependents 1
Total lines 338
Lines of code 127
Logical lines of code 47
Comment lines 131
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
set_payment_method()
S
59 7 13
create_transaction()
S
53 5 20
set_dynamic_descriptors()
S
63 4 10
get_options()
S
61 3 13
set_billing()
S
56 2 17
set_customer()
S
59 2 13
get_shipping_address()
S
60 1 13
__construct()
S
76 1 4
create_credit_card_charge()
S
81 1 3
create_credit_card_auth()
S
81 1 3
create_credit_card_capture()
S
72 1 5
create_refund()
S
72 1 5
create_void()
S
73 1 5
get_channel()
S
82 1 3