* better default types Signed-off-by: Jess Frazelle <github@jessfraz.com> * more mypy fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * more fixes for mypy Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix mypy; Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix mypy; Signed-off-by: Jess Frazelle <github@jessfraz.com> * I have generated the latest API! --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			459 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			459 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from typing import Dict, Optional
 | 
						|
 | 
						|
from pydantic import BaseModel, ConfigDict
 | 
						|
 | 
						|
from ..models.currency import Currency
 | 
						|
 | 
						|
 | 
						|
class InvoiceLineItem(BaseModel):
 | 
						|
    """An invoice line item."""
 | 
						|
 | 
						|
    amount: float = 0.0
 | 
						|
 | 
						|
    currency: Currency = "usd"  # type: ignore
 | 
						|
 | 
						|
    description: Optional[str] = None
 | 
						|
 | 
						|
    id: Optional[str] = None
 | 
						|
 | 
						|
    invoice_item: Optional[str] = None
 | 
						|
 | 
						|
    metadata: Dict[str, str] = {}
 | 
						|
 | 
						|
    model_config = ConfigDict(protected_namespaces=())
 |