
    Ch                     d    S SK Jr  S SKJr  S SKJrJrJrJr  S SK	J
r
JrJr   " S S\S   5      rg)    )CreateableAPIResource)RequestOptions)ClassVarDictListcast)LiteralNotRequiredUnpackc                       \ rS rSr% SrSr\\S      \S'    " S S\	5      r
\\S'    \\S'    \\S	'    \\S
'    \S   \S'    \\\4   \S'    \\S'    \S\S   SS 4S j5       r\S\S   SS 4S j5       rSrg)
MeterEvent	   a  
Meter events represent actions that customers take in your system. You can use meter events to bill a customer based on their usage. Meter events are associated with billing meters, which define both the contents of the event's payload and how to aggregate those events.
zbilling.meter_eventOBJECT_NAMEc                   r    \ rS rSr% \\S'    \\\      \S'    \\   \S'    \\\4   \S'    \\	   \S'   Sr
g)	MeterEvent.CreateParams   
event_nameexpand
identifierpayload	timestamp N)__name__
__module____qualname____firstlineno__str__annotations__r
   r   r   int__static_attributes__r       ^/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/billing/_meter_event.pyCreateParamsr      s[    	 DI&&	  $$	 c3h	 s##	r!   r#   createdr   r   livemodeobjectr   r   paramsr   returnc           	      T    [        SU R                  SU R                  5       US95      $ ) 
Creates a billing meter event.
r   postr'   )r   _static_request	class_urlclsr'   s     r"   createMeterEvent.createE   s6        
 	
r!   c           	      p   #    [        SU R                  SU R                  5       US9I Sh  vN 5      $  N7f)r*   r   r+   r,   N)r   _static_request_asyncr.   r/   s     r"   create_asyncMeterEvent.create_asyncU   sC      ++ ,  
 	
s   )64
	6r   N)r   r   r   r   __doc__r   r   r	   r   r   r#   r   r   boolr   classmethodr   r1   r5   r    r   r!   r"   r   r   	   s    
 	 '"789 ~ , L O O N )** #s(^ N 
78
	
 
 
78
	
 
r!   r   N)stripe._createable_api_resourcer   stripe._request_optionsr   typingr   r   r   r   typing_extensionsr	   r
   r   r   r   r!   r"   <module>r>      s.    B 2 - - : :Z
&|4 Z
r!   