mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			290 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			290 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| pub struct OrganizationNew {
 | |
|     pub org_id: String,
 | |
|     pub org_name: Option<String>,
 | |
| }
 | |
| 
 | |
| impl OrganizationNew {
 | |
|     pub fn new(org_name: Option<String>) -> Self {
 | |
|         Self {
 | |
|             org_id: common_utils::generate_id_with_default_len("org"),
 | |
|             org_name,
 | |
|         }
 | |
|     }
 | |
| }
 | 
