
     h                     f    d dl mZmZmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ  G d de          ZdS )	    )absolute_importdivisionprint_function)util)UpdateableAPIResource)Account)
quote_plusc                   J    e Zd ZdZdZd Zed             Zedd            ZdS )Persona  
    This is an object representing a person associated with a Stripe account.

    A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account.
    See the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform pre-filling and account onboarding steps.

    Related guide: [Handling Identity Verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information).
    personc                     t          j        | j                  }t          j        | j                  }t	          j                    }t          |          }t          |          }|d|d|S )N/z	/persons/)r   utf8idaccountr   	class_urlr	   )selftokenr   base	acct_extnextns         W/var/www/html/Sam_Eipo/venv/lib/python3.11/site-packages/stripe/api_resources/person.pyinstance_urlzPerson.instance_url   sc    	$'"")DL)) ""w''	%  %)TT999dd;;    c                      t          d          )NzCan't modify a person without an account ID. Use stripe.Account.modify_person('account_id', 'person_id', ...) (see https://stripe.com/docs/api/persons/update).NotImplementedError)clssidparamss      r   modifyzPerson.modify   s    !@
 
 	
r   Nc                      t          d          )NzCan't retrieve a person without an account ID. Use stripe.Account.retrieve_person('account_id', 'person_id') (see https://stripe.com/docs/api/persons/retrieve).r   )r   r   api_keyr    s       r   retrievezPerson.retrieve'   s    !B
 
 	
r   )N)	__name__
__module____qualname____doc__OBJECT_NAMEr   classmethodr!   r$    r   r   r   r      so          K< < < 
 
 [
 
 
 
 [
 
 
r   r   N)
__future__r   r   r   striper   stripe.api_resources.abstractr   stripe.api_resources.accountr   stripe.six.moves.urllib.parser	   r   r+   r   r   <module>r1      s    A @ @ @ @ @ @ @ @ @       ? ? ? ? ? ? 0 0 0 0 0 0 4 4 4 4 4 4"
 "
 "
 "
 "
" "
 "
 "
 "
 "
r   