Ë
    T>{iG  ã                  óò   — 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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"jG                  «        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)ÚScheduleOption)ÚVendorEntityRelatedDocsInner)
Úvalidate_argumentsÚValidationErrorÚFieldÚ	StrictStrÚStrictBytesÚ	StrictIntÚStrictFloatÚ
StrictBoolÚfield_validatorÚ	BaseModel)ÚAnyÚDictÚListÚOptionalÚTupleÚUnion)Ú	Annotatedc                  óD  — 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<   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)"ÚVendorEntityz
    Vendor entity object
    NzOptional[StrictStr]ÚemailÚstatusÚphoneÚnameÚ	vendor_idÚadded_onÚ
updated_onzOptional[List[BankDetails]]ÚbankÚupizOptional[List[ScheduleOption]]Úschedule_optionÚvendor_typeÚaccount_typeÚbusiness_typeÚremarksz,Optional[List[VendorEntityRelatedDocsInner]]Úrelated_docs©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    ú^/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/cashfree_pg/models/vendor_entity.pyÚto_strzVendorEntity.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_dictr3   s    r5   Úto_jsonzVendorEntity.to_json>   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r7   c                óJ   — | j                  t        j                  |«      «      S )ú5Create an instance of VendorEntity from a JSON string)Ú	from_dictr9   Úloads)ÚclsÚjson_strs     r5   Ú	from_jsonzVendorEntity.from_jsonB   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r7   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)r>   z˜email, status, phone, name, vendor_id, added_on, updated_on, bank, upi, schedule_option, vendor_type, account_type, business_type, remarks, related_docsN)r9   r@   Úkeysr?   )rA   rB   Ú	temp_dicts      r5   Úfrom_json_for_one_ofz!VendorEntity.from_json_for_one_ofG   sU   € ô —J‘J˜xÓ(ˆ	ð fð  js÷  jxñ  jxó  jzñ  zØ—=‘=¤§¡¨HÓ!5Ó6Ð6Ør7   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<   |S )z>Returns the dictionary representation of the model using aliasT)r/   ÚexcludeÚexclude_noner#   r%   r*   )r2   r#   Úappendr;   r%   r*   )r4   Ú_dictÚ_itemsÚ_items       r5   r;   zVendorEntity.to_dictO   sî   € à—	‘	 4ð#à'+ð ó -ˆð
 ˆØ�9Š9ØŸ™ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð #ˆE�&‰MàˆØ×ÒØ×-Ñ-ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð (.ˆEÐ#Ñ$àˆØ×ÒØ×*Ñ*ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð %+ˆE�.Ñ!Øˆr7   c                ó¸  — |€yt        |t        «      st        j                  |«      S t        j                  |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d	«      �2|j	                  d	«      D �cg c]  }t        j                  |«      ‘Œ c}nd|j	                  d
«      |j	                  d«      �2|j	                  d«      D �cg c]  }t        j                  |«      ‘Œ c}nd|j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      �2|j	                  d«      D �cg c]  }t        j                  |«      ‘Œ c}nddœ«      }|S c c}w c c}w c c}w )z.Create an instance of VendorEntity from a dictNr   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   )	Ú
isinstancer2   r   Ú	parse_objÚgetr   r?   r   r   )rA   ÚobjrN   Ú_objs       r5   r?   zVendorEntity.from_dictl   s§  € ð ˆ;Øä˜#œtÔ$Ü×)Ñ)¨#Ó.Ð.ä×%Ñ%Ø—W‘W˜WÓ%Ø—g‘g˜hÓ'Ø—W‘W˜WÓ%Ø—G‘G˜F“OØŸ™ Ó-ØŸ™ 
Ó+ØŸ'™' ,Ó/ØSV×SZÑSZÐ[aÓSbÐSn¸s¿w¹wÀv»ÖO°e”[×*Ñ*¨5Õ1ÓOÐtxØ—7‘7˜5“>Ølo×lsÑlsð  uFó  mGð  mSÈSÏWÉWÐUfÓMgÖhÀE¤× 8Ñ 8¸Õ ?Óhð  Y]ØŸ7™7 =Ó1ØŸG™G NÓ3Ø ŸW™W _Ó5Ø—w‘w˜yÓ)Øtw×t{Ñt{ð  }Kó  uLð  uXÐX[×X_ÑX_Ð`nÓXoÖpÈuÔ9×CÑCÀEÕJÓpð  ^bñ'
ó ˆð" ˆùò Pùâhùò
 qs   ÃGÄ GÆ$G$)ÚreturnÚstr)rB   rV   rU   r   )rS   r2   rU   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   Ú_VendorEntity__propertiesÚmodel_configr6   r<   ÚclassmethodrC   rG   r;   r?   © r7   r5   r   r      s  … ñð "&€EÐÓ%Ø"&€FÐÓ&Ø!%€EÐÓ%Ø $€DÐ
Ó$Ø%)€IÐ"Ó)Ø$(€HÐ!Ó(Ø&*€JÐ#Ó*Ø(,€DÐ
%Ó,Ø#€CÐ	Ó#Ø6:€OÐ3Ó:Ø'+€KÐ$Ó+Ø(,€LÐ%Ó,Ø)-€MÐ&Ó-Ø#'€GÐ Ó'ØAE€LÐ>ÓEò L€Lð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðòð: òó ñr7   r   )$rZ   Ú
__future__r   r0   Úrer9   r   r   Úcashfree_pg.models.bank_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_rebuildr_   r7   r5   ú<module>ri      s^   ðñ
õ #Û Û 	Û ç #õ 8Ý =Ý \÷ X÷  X÷  Xß :× :Ý 'ôh�9ô hðX × Ñ Õ r7   