Mollie_WC_Payment_Object A

Total Complexity 71
Dependencies 6
Dependents 2
Total lines 659
Lines of code 312
Logical lines of code 135
Comment lines 220
Methods 35
Properties 5

Methods 35

Method Rating Maintainability Complexity Lines of code
failedSubscriptionProcess()
A
43 12 53
setActiveMolliePaymentForSubscriptions()
S
50 6 29
getActiveMolliePayment()
S
53 4 26
deleteSubscriptionFromPending()
S
62 4 14
setActiveMolliePayment()
S
67 4 8
unsetActiveMolliePayment()
S
67 4 8
getPaymentObjectPayment()
S
60 3 12
getPaymentObjectOrder()
S
60 3 12
setActiveMolliePaymentForOrders()
S
62 2 12
informNotUpdatingStatus()
S
56 1 22
unsetActiveMolliePaymentForOrders()
S
64 2 10
unsetCancelledMolliePaymentId()
S
64 2 10
isOrderPaymentStartedByOtherGateway()
S
66 2 8
onWebhookExpired()
S
91 1 2
onWebhookFailed()
S
91 1 2
isFinalOrderStatus()
S
67 1 9
refund()
S
91 1 2
setOrderPaidAndProcessed()
S
73 1 5
deleteSubscriptionOrderFromPendingPaymentQueue()
S
67 1 9
onWebhookPaid()
S
91 1 2
onWebhookCanceled()
S
91 1 2
__construct()
S
73 1 5
getMollieCustomerIdFromPaymentObject()
S
91 1 2
getMolliePaymentIdFromPaymentObject()
S
91 1 2
hasCancelledMolliePayment()
S
75 1 4
getCancelledMolliePaymentId()
S
75 1 4
getPaymentObject()
S
81 1 3
hasActiveMollieOrder()
S
75 1 4
hasActiveMolliePayment()
S
75 1 4
getActiveMolliePaymentMode()
S
75 1 4
getActiveMollieOrderId()
S
75 1 4
getActiveMolliePaymentId()
S
75 1 4
unsetActiveMolliePaymentForSubscriptions()
S
69 1 7
getPaymentRequestData()
S
91 1 2
setCancelledMolliePaymentId()
S
70 1 6