- 
		Home
	
 
	- 
Razorpay for WooCommerce
 
- 
4.6.4
 
- 
Code
 
- 
Classes
 
-  RZP_Webhook 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											83 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											642 | 
										
																			
											| Lines of code | 
											338 | 
										
																			
											| Logical lines of code | 
											206 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											137 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| process() | 
									C  | 
																	31 | 
													25 | 
													104 | 
							
					
				| paymentAuthorized() | 
									A  | 
																	42 | 
													12 | 
													51 | 
							
					
				| virtualAccountCredited() | 
									A  | 
																	44 | 
													11 | 
													42 | 
							
					
				| paymentPending() | 
									A  | 
																	47 | 
													10 | 
													32 | 
							
					
				| refundedCreated() | 
									A  | 
																	42 | 
													8 | 
													52 | 
							
					
				| shouldConsumeWebhook() | 
									S  | 
																	64 | 
													5 | 
													8 | 
							
					
				| getPaymentEntity() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| getOrderAmountAsInteger() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| checkIsObject() | 
									S  | 
																	66 | 
													2 | 
													9 | 
							
					
				| __construct() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| paymentFailed() | 
									S  | 
																	83 | 
													1 | 
													3 | 
							
					
				| subscriptionCancelled() | 
									S  | 
																	83 | 
													1 | 
													3 | 
							
					
				| subscriptionPaused() | 
									S  | 
																	83 | 
													1 | 
													3 | 
							
					
				| subscriptionResumed() | 
									S  | 
																	83 | 
													1 | 
													3 | 
							
					
				| subscriptionCharged() | 
									S  | 
																	83 | 
													1 | 
													3 |