MM_WPFS_Public_SubscriptionFormModel S

Total Complexity 31
Dependencies 2
Dependents 3
Total lines 263
Lines of code 123
Logical lines of code 67
Comment lines 54
Methods 25
Properties 13

Methods 25

Method Rating Maintainability Complexity Lines of code
getPlanPropertiesFromForm()
S
52 4 25
bindByArray()
S
57 2 17
extractPlanPropertiesData()
S
68 2 7
prepareStripeCouponAndProduct()
S
69 2 7
__construct()
S
80 1 3
getBillingAnchorDay()
S
82 1 3
getStripeSubscription()
S
82 1 3
setStripeSetupIntent()
S
81 1 3
getStripeSetupIntent()
S
82 1 3
setStripePaymentIntent()
S
81 1 3
getStripePaymentIntent()
S
82 1 3
getCancellationCount()
S
82 1 3
getTrialPeriodDays()
S
82 1 3
getProrateUntilAnchorDay()
S
82 1 3
getSetupFee()
S
82 1 3
getPlanAmount()
S
82 1 3
getStripePlanProperties()
S
82 1 3
getStripePlan()
S
82 1 3
getStripePlanQuantity()
S
82 1 3
getStripePlanId()
S
82 1 3
getPostData()
S
67 1 8
prepareStripePlan()
S
75 1 5
getPlanFromStripe()
S
80 1 3
getFormFromDatabase()
S
100 1 0
setStripeSubscription()
S
81 1 3