Ë
    T>{i¯  ã                  óþ   — d Z ddlmZ ddlZddlZddlZddlmZmZ ddlm	Z	 ddl
mZ ddlmZ ddlmZ dd	lmZmZmZmZmZmZmZmZmZmZ dd
lmZmZmZmZm Z m!Z! ddl"m#Z#  G d„ de«      Z$e$jK                  «        y)aˆ  
Cashfree Payment Gateway APIs

Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites.

The version of the OpenAPI document: 2023-08-01
Contact: developers@cashfree.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
é    )ÚannotationsN)ÚdateÚdatetime)ÚBankDetails)Ú
KycDetails)ÚScheduleOption)ÚVendorEntityRelatedDocsInner)
Úvalidate_argumentsÚValidationErrorÚFieldÚ	StrictStrÚStrictBytesÚ	StrictIntÚStrictFloatÚ
StrictBoolÚfield_validatorÚ	BaseModel)ÚAnyÚDictÚListÚOptionalÚTupleÚUnion)Ú	Annotatedc                  ó`  — e Zd ZU dZdZded<   dZded<   dZded<   dZded<   dZ	ded	<   dZ
ded
<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   g d¢Z	 dddœZd$d„Zd$d„Zed%d „«       Zed%d!„«       Zd"„ Zed&d#„«       Zy)'ÚUpdateVendorResponsez 
    Update Vendor Response
    NzOptional[StrictStr]ÚemailÚstatuszOptional[List[BankDetails]]ÚbankÚupiÚadded_onÚ
updated_onÚvendor_typeÚaccount_typeÚbusiness_typez'Optional[Union[StrictFloat, StrictInt]]ÚphoneÚnameÚ	vendor_idzOptional[List[ScheduleOption]]Úschedule_optionzOptional[List[KycDetails]]Úkyc_detailszOptional[StrictBool]Údashboard_accessÚbank_detailsz,Optional[List[VendorEntityRelatedDocsInner]]Úrelated_docs)r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   T)Úpopulate_by_nameÚvalidate_assignmentc                óL   — t        j                  | j                  d¬«      «      S )z:Returns the string representation of the model using aliasT)Úby_alias)ÚpprintÚpformatÚdict©Úselfs    úg/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/cashfree_pg/models/update_vendor_response.pyÚto_strzUpdateVendorResponse.to_str=   s   € ä�~‰~˜dŸi™i°˜iÓ6Ó7Ð7ó    c                óH   — t        j                  | j                  «       «      S )z8Returns the JSON representation of the model using alias)ÚjsonÚdumpsÚto_dictr5   s    r7   Úto_jsonzUpdateVendorResponse.to_jsonA   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r9   c                óJ   — | j                  t        j                  |«      «      S )ú=Create an instance of UpdateVendorResponse from a JSON string)Ú	from_dictr;   Úloads)ÚclsÚjson_strs     r7   Ú	from_jsonzUpdateVendorResponse.from_jsonE   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r9   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)r@   z¼email, status, bank, upi, added_on, updated_on, vendor_type, account_type, business_type, phone, name, vendor_id, schedule_option, kyc_details, dashboard_access, bank_details, related_docsN)r;   rB   ÚkeysrA   )rC   rD   Ú	temp_dicts      r7   Úfrom_json_for_one_ofz)UpdateVendorResponse.from_json_for_one_ofJ   sU   € ô —J‘J˜xÓ(ˆ	ð Jð  NW÷  N\ñ  N\ó  N^ñ  ^Ø—=‘=¤§¡¨HÓ!5Ó6Ð6Ør9   c                ó^  — | j                  di d¬«      }g }| j                  r8| j                  D ]$  }|sŒ|j                  |j                  «       «       Œ& ||d<   g }| j                  r8| j                  D ]$  }|sŒ|j                  |j                  «       «       Œ& ||d<   g }| j
                  r8| j
                  D ]$  }|sŒ|j                  |j                  «       «       Œ& ||d<   g }| j                  r8| j                  D ]$  }|sŒ|j                  |j                  «       «       Œ& ||d<   |S )z>Returns the dictionary representation of the model using aliasT)r1   ÚexcludeÚexclude_noner   r)   r*   r-   )r4   r   Úappendr=   r)   r*   r-   )r6   Ú_dictÚ_itemsÚ_items       r7   r=   zUpdateVendorResponse.to_dictR   s2  € à—	‘	 4ð#à'+ð ó -ˆð
 ˆØ�9Š9ØŸ™ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð #ˆE�&‰MàˆØ×ÒØ×-Ñ-ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð (.ˆEÐ#Ñ$àˆØ×ÒØ×)Ñ)ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð $*ˆE�-Ñ àˆØ×ÒØ×*Ñ*ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð %+ˆE�.Ñ!Øˆr9   c           
     ó¬  — |€yt        |t        «      st        j                  |«      S t        j                  i d|j	                  d«      “d|j	                  d«      “d|j	                  d«      �2|j	                  d«      D �cg c]  }t        j                  |«      ‘Œ c}nd“d|j	                  d«      “d|j	                  d«      “d|j	                  d«      “d|j	                  d«      “d	|j	                  d	«      “d
|j	                  d
«      “d|j	                  d«      “d|j	                  d«      “d|j	                  d«      “d|j	                  d«      �2|j	                  d«      D �cg c]  }t        j                  |«      ‘Œ c}nd“d|j	                  d«      �2|j	                  d«      D �cg c]  }t        j                  |«      ‘Œ c}nd“d|j	                  d«      “d|j	                  d«      “d|j	                  d«      �2|j	                  d«      D �cg c]  }t        j                  |«      ‘Œ c}nd“«      }|S c c}w c c}w c c}w c c}w )z6Create an instance of UpdateVendorResponse from a dictNr   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   )
Ú
isinstancer4   r   Ú	parse_objÚgetr   rA   r   r   r	   )rC   ÚobjrP   Ú_objs       r7   rA   zUpdateVendorResponse.from_dictv   s‘  € ð ˆ;Øä˜#œtÔ$Ü'×1Ñ1°#Ó6Ð6ä#×-Ñ-ð /
Ø�S—W‘W˜WÓ%ð/
à�c—g‘g˜hÓ'ð/
ð ÐSV×SZÑSZÐ[aÓSbÐSn¸s¿w¹wÀv»ÖO°e”[×*Ñ*¨5Õ1ÓOÐtxð/
ð �3—7‘7˜5“>ð	/
ð
 ˜Ÿ™ 
Ó+ð/
ð ˜#Ÿ'™' ,Ó/ð/
ð ˜3Ÿ7™7 =Ó1ð/
ð ˜CŸG™G NÓ3ð/
ð ˜SŸW™W _Ó5ð/
ð �S—W‘W˜WÓ%ð/
ð �C—G‘G˜F“Oð/
ð ˜Ÿ™ Ó-ð/
ð Ðlo×lsÑlsð  uFó  mGð  mSÈSÏWÉWÐUfÓMgÖhÀE¤× 8Ñ 8¸Õ ?Óhð  Y]ð/
ð Ð`c×`gÑ`gÐhuÓ`vð  aCÀSÇWÁWÈ]ÓE[Ö\¸EœJ×0Ñ0°Õ7Ó\ð  IMð/
ð  §¡Ð(:Ó ;ð/
ð  ˜CŸG™G NÓ3ð!/
ð" Ðtw×t{Ñt{ð  }Kó  uLð  uXÐX[×X_ÑX_Ð`nÓXoÖpÈuÔ9×CÑCÀEÕJÓpð  ^bð#/
ó ˆð& ˆùò! Pùò  iùÚ\ùò qs   ÂIÅ*IÆ0IÈI)ÚreturnÚstr)rD   rX   rW   r   )rU   r4   rW   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   Ú!_UpdateVendorResponse__propertiesÚmodel_configr8   r>   ÚclassmethodrE   rI   r=   rA   © r9   r7   r   r      s+  … ñð "&€EÐÓ%Ø"&€FÐÓ&Ø(,€DÐ
%Ó,Ø#€CÐ	Ó#Ø$(€HÐ!Ó(Ø&*€JÐ#Ó*Ø'+€KÐ$Ó+Ø(,€LÐ%Ó,Ø)-€MÐ&Ó-Ø59€EÐ2Ó9Ø $€DÐ
Ó$Ø%)€IÐ"Ó)Ø6:€OÐ3Ó:Ø.2€KÐ+Ó2Ø-1ÐÐ*Ó1Ø(,€LÐ%Ó,ØAE€LÐ>ÓEò t€Lð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðò"ðH òó ñr9   r   )&r\   Ú
__future__r   r2   Úrer;   r   r   Úcashfree_pg.models.bank_detailsr   Úcashfree_pg.models.kyc_detailsr   Ú"cashfree_pg.models.schedule_optionr   Ú3cashfree_pg.models.vendor_entity_related_docs_innerr	   Úpydanticr
   r   r   r   r   r   r   r   r   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   Úmodel_rebuildra   r9   r7   ú<module>rl      sa   ðñ
õ #Û Û 	Û ç #õ 8Ý 5Ý =Ý \÷ X÷  X÷  Xß :× :Ý 'ôs˜9ô sðn × "Ñ "Õ $r9   