- 
		Home
	
- 
Wholesale Suite – B2B, Dynamic Pricing & Wholesale Prices for WooCommerce
- 
2.0
- 
Code
- 
Classes
-  WWP_REST_Wholesale_Roles_V1_Controller 
		
			
				
					
													
								
																			
											| Total Complexity | 26 | 
																			
											| Dependencies | 5 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 283 | 
																			
											| Lines of code | 98 | 
																			
											| Logical lines of code | 48 | 
																	
							 
													
								
																			
											| Comment lines | 107 | 
																			
											| Methods | 10 | 
																			
											| Properties | 3 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 10
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| update_item() | S | 52 | 7 | 23 | 
					
				| filter_product_object() | S | 62 | 4 | 11 | 
					
				| get_item() | S | 62 | 4 | 9 | 
					
				| permissions_check() | S | 69 | 3 | 6 | 
					
				| register_routes() | S | 56 | 1 | 21 | 
					
				| hide_only_allow_wholesale_purchases() | S | 69 | 2 | 7 | 
					
				| getAllRegisteredWholesaleRoles() | S | 69 | 2 | 7 | 
					
				| __construct() | S | 69 | 1 | 6 | 
					
				| get_items() | S | 71 | 1 | 5 | 
					
				| delete_item() | S | 77 | 1 | 3 |