* use default values for non-required properties if a default is specified * generate client * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			360 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			360 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from typing import Optional
 | |
| 
 | |
| from pydantic import BaseModel, ConfigDict
 | |
| 
 | |
| from ..models.address_details import AddressDetails
 | |
| 
 | |
| 
 | |
| class BillingInfo(BaseModel):
 | |
|     """The billing information for payments."""
 | |
| 
 | |
|     address: Optional[AddressDetails] = None
 | |
| 
 | |
|     name: Optional[str] = None
 | |
| 
 | |
|     phone: str = ""
 | |
| 
 | |
|     model_config = ConfigDict(protected_namespaces=())
 |