- 
		Home
	
 
	- 
Event Tickets and Registration
 
- 
5.13.2
 
- 
Code
 
- 
Classes
 
-  Tribe__Tickets__Commerce__PayPal__Gateway 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											83 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											918 | 
										
																			
											| Lines of code | 
											368 | 
										
																			
											| Logical lines of code | 
											211 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											391 | 
										
																			
											| Methods | 
											21 | 
										
																			
											| Properties | 
											12 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 21
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| add_to_cart() | 
									B  | 
																	33 | 
													20 | 
													93 | 
							
					
				| get_paypal_cart_api_url() | 
									B  | 
																	32 | 
													18 | 
													111 | 
							
					
				| parse_transaction() | 
									A  | 
																	43 | 
													10 | 
													46 | 
							
					
				| get_invoice_number() | 
									S  | 
																	56 | 
													6 | 
													19 | 
							
					
				| build_handler() | 
									S  | 
																	58 | 
													5 | 
													16 | 
							
					
				| get_success_page_url() | 
									S  | 
																	60 | 
													4 | 
													12 | 
							
					
				| reset_invoice_number() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| get_cart_url() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_base_url() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_handler_slug() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| __construct() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| hook() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| set_transaction_data() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_transaction_data() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_product_name() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| set_invoice_number() | 
									S  | 
																	66 | 
													1 | 
													7 | 
							
					
				| get_transaction_url() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_settings_url() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| set_raw_transaction_data() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_raw_transaction_data() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| invoice_transient_name() | 
									S  | 
																	79 | 
													1 | 
													3 |