- 
		Home
	
- 
Mollie Payments for WooCommerce
- 
6.4.0
- 
Code
- 
Classes
-  Mollie_WC_Helper_GatewaySurchargeHandler 
		
			
				
					
													
								
																			
											| Total Complexity | 55 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 4 | 
																	
							 
													
								
																			
											| Total lines | 298 | 
																			
											| Lines of code | 225 | 
																			
											| Logical lines of code | 132 | 
																	
							 
													
								
																			
											| Comment lines | 11 | 
																			
											| Methods | 20 | 
																			
											| Properties | 0 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| updateSurchargeOrderPay() | A | 46 | 10 | 41 | 
					
				| add_engraving_fees() | S | 55 | 6 | 20 | 
					
				| addSurchargeFeeProductPage() | S | 58 | 4 | 15 | 
					
				| chosenGateway() | S | 61 | 4 | 13 | 
					
				| calculteFeeAmountOrder() | S | 62 | 4 | 12 | 
					
				| addMaxLimit() | S | 62 | 4 | 12 | 
					
				| orderRemoveFee() | S | 61 | 3 | 12 | 
					
				| enqueueSurchargeScript() | S | 63 | 3 | 11 | 
					
				| calculate_percentage() | S | 61 | 2 | 11 | 
					
				| isMollieGateway() | S | 71 | 2 | 6 | 
					
				| gatewaySettings() | S | 67 | 2 | 8 | 
					
				| calculate_fixed_fee() | S | 78 | 2 | 3 | 
					
				| calculate_percentage_order() | S | 64 | 2 | 9 | 
					
				| __construct() | S | 61 | 1 | 13 | 
					
				| setHiddenOrderId() | S | 77 | 1 | 5 | 
					
				| calculteFeeAmount() | S | 72 | 1 | 5 | 
					
				| calculate_fixed_fee_percentage() | S | 70 | 1 | 6 | 
					
				| calculate_fixed_fee_percentage_order() | S | 70 | 1 | 6 | 
					
				| buildFeeName() | S | 66 | 1 | 8 | 
					
				| orderAddFee() | S | 66 | 1 | 9 |