| 
					
				 | 
			
			
				@@ -13,6 +13,7 @@ type OrderListCriteria struct { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	After   *time.Time 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	Until   *time.Time 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	Side    *string 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	Nested  *bool 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 func (criteria OrderListCriteria) Values() map[string]string { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -39,8 +40,13 @@ func (criteria OrderListCriteria) Values() map[string]string { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		values["side"] = *criteria.Side 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	if criteria.Nested != nil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		values["nested"] = fmt.Sprintf("%v", criteria.Nested) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		values["nested"] = "true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	values["status"] = "all" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	values["nested"] = "true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	values["limit"] = fmt.Sprintf("%d", criteria.Limit) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	values["after"] = criteria.After.In(time.UTC).Format(time.RFC3339) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	values["direction"] = "asc" 
			 |