- 
		Home
	
- 
Event Tickets and Registration
- 
5.26.5
- 
Code
- 
Classes
-  Tribe__Tickets__Commerce__PayPal__Order 
		
			
				
					
													
								
																			
											| Total Complexity | 90 | 
																			
											| Dependencies | 6 | 
																			
											| Dependents | 5 | 
																	
							 
													
								
																			
											| Total lines | 948 | 
																			
											| Lines of code | 353 | 
																			
											| Logical lines of code | 194 | 
																	
							 
													
								
																			
											| Comment lines | 436 | 
																			
											| Methods | 32 | 
																			
											| Properties | 14 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 32
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| find_by() | A | 41 | 11 | 54 | 
					
				| hydrate_from_post() | A | 46 | 11 | 37 | 
					
				| update() | A | 43 | 9 | 50 | 
					
				| set_meta() | A | 49 | 9 | 31 | 
					
				| from_transaction_data() | S | 58 | 3 | 16 | 
					
				| find_by_order_id() | S | 59 | 3 | 14 | 
					
				| delete() | S | 59 | 3 | 13 | 
					
				| get_line_total() | S | 61 | 3 | 12 | 
					
				| remove_attendee() | S | 65 | 3 | 10 | 
					
				| get_meta() | S | 67 | 3 | 8 | 
					
				| get_revenue() | S | 67 | 3 | 7 | 
					
				| get_item_quantity() | S | 62 | 3 | 10 | 
					
				| from_order_id() | S | 65 | 2 | 9 | 
					
				| hydrate_from_transaction_data() | S | 68 | 2 | 7 | 
					
				| from_attendee_id() | S | 64 | 2 | 10 | 
					
				| add_attendee() | S | 67 | 2 | 8 | 
					
				| get_sub_total() | S | 77 | 2 | 3 | 
					
				| get_related_post_ids() | S | 64 | 2 | 9 | 
					
				| cache_prefix() | S | 80 | 1 | 3 | 
					
				| has_attendee() | S | 74 | 1 | 4 | 
					
				| paypal_id() | S | 82 | 1 | 3 | 
					
				| get_attendees() | S | 82 | 1 | 3 | 
					
				| get_status() | S | 82 | 1 | 3 | 
					
				| get_status_label() | S | 82 | 1 | 3 | 
					
				| refund_with() | S | 76 | 1 | 4 | 
					
				| get_refund_order_id() | S | 79 | 1 | 3 | 
					
				| get_ticket_ids() | S | 82 | 1 | 3 | 
					
				| get_creation_date() | S | 82 | 1 | 3 | 
					
				| get_modified_date() | S | 82 | 1 | 3 | 
					
				| was_pending() | S | 82 | 1 | 3 | 
					
				| get_post_id() | S | 82 | 1 | 3 | 
					
				| get_order_link() | S | 75 | 1 | 4 |