Ë
    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)ÚLinkCustomerDetailsEntity)ÚLinkMetaResponseEntity)ÚLinkNotifyEntity)ÚVendorSplit)
Ú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<    edd¬«      Zded<   dZded<   dZde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)-Ú
LinkEntityz7
    Payment link success creation response object
    NzOptional[StrictStr]Ú
cf_link_idÚlink_idÚlink_statusÚlink_currencyz'Optional[Union[StrictFloat, StrictInt]]Úlink_amountÚlink_amount_paidzOptional[StrictBool]Úlink_partial_paymentsÚlink_minimum_partial_amountÚlink_purposeÚlink_created_atz#Optional[LinkCustomerDetailsEntity]Úcustomer_detailsz Optional[LinkMetaResponseEntity]Ú	link_metaÚlink_urlÚlink_expiry_timezkKey-value pair that can be used to store additional information about the entity. Maximum 5 key-value pairs)ÚdefaultÚdescriptionzOptional[Dict[str, StrictStr]]Ú
link_notesÚlink_auto_reminderszOptional[LinkNotifyEntity]Úlink_notifyzwBase64 encoded string for payment link. You can scan with camera to open a link in the browser to complete the payment.Úlink_qrcodezOptional[List[VendorSplit]]Úorder_splits)r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r-   r.   r/   r0   r1   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/link_entity.pyÚto_strzLinkEntity.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_dictr9   s    r;   Úto_jsonzLinkEntity.to_jsonC   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r=   c                óJ   — | j                  t        j                  |«      «      S )ú3Create an instance of LinkEntity from a JSON string)Ú	from_dictr?   Úloads)ÚclsÚjson_strs     r;   Ú	from_jsonzLinkEntity.from_jsonG   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r=   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)rD   a#  cf_link_id, link_id, link_status, link_currency, link_amount, link_amount_paid, link_partial_payments, link_minimum_partial_amount, link_purpose, link_created_at, customer_details, link_meta, link_url, link_expiry_time, link_notes, link_auto_reminders, link_notify, link_qrcode, order_splitsN)r?   rF   ÚkeysrE   )rG   rH   Ú	temp_dicts      r;   Úfrom_json_for_one_ofzLinkEntity.from_json_for_one_ofL   sU   € ô —J‘J˜xÓ(ˆ	ð qð  u~÷  uCñ  uCó  uEñ  EØ—=‘=¤§¡¨HÓ!5Ó6Ð6Ør=   c                ó°  — | j                  di d¬«      }| j                  r| j                  j                  «       |d<   | j                  r| j                  j                  «       |d<   | j                  r| j                  j                  «       |d<   g }| j
                  r8| j
                  D ]$  }|sŒ|j                  |j                  «       «       Œ& ||d<   |S )z>Returns the dictionary representation of the model using aliasT)r5   ÚexcludeÚexclude_noner'   r(   r/   r1   )r8   r'   rA   r(   r/   r1   Úappend)r:   Ú_dictÚ_itemsÚ_items       r;   rA   zLinkEntity.to_dictT   sÍ   € à—	‘	 4ð#à'+ð ó -ˆð
 × Ò Ø(,×(=Ñ(=×(EÑ(EÓ(GˆEÐ$Ñ%à�>Š>Ø!%§¡×!7Ñ!7Ó!9ˆE�+Ñà×ÒØ#'×#3Ñ#3×#;Ñ#;Ó#=ˆE�-Ñ àˆØ×ÒØ×*Ñ*ò 3�ÚØ—M‘M %§-¡-£/Õ2ð3ð %+ˆE�.Ñ!Øˆr=   c           
     ó€  — |€yt        |t        «      st        j                  |«      S t        j                  i 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«      “d|j	                  d«      �$t        j                  |j	                  d«      «      nd“d|j	                  d«      �$t        j                  |j	                  d«      «      nd“d|j	                  d«      “d|j	                  d«      “d|j	                  d«      “d|j	                  d«      “d|j	                  d«      �$t        j                  |j	                  d«      «      nd“|j	                  d«      |j	                  d«      �2|j	                  d«      D �cg c]  }t        j                  |«      ‘Œ c}nddœ¥«      }|S c c}w )z,Create an instance of LinkEntity from a dictNr   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r-   r.   r/   r0   r1   )r0   r1   )
Ú
isinstancer8   r   Ú	parse_objÚgetr   rE   r   r   r	   )rG   ÚobjrT   Ú_objs       r;   rE   zLinkEntity.from_dictl   sm  € ð ˆ;Øä˜#œtÔ$Ü×'Ñ'¨Ó,Ð,ä×#Ñ#ð %
Ø˜#Ÿ'™' ,Ó/ð%
à�s—w‘w˜yÓ)ð%
ð ˜3Ÿ7™7 =Ó1ð%
ð ˜SŸW™W _Ó5ð	%
ð
 ˜3Ÿ7™7 =Ó1ð%
ð  §¡Ð(:Ó ;ð%
ð $ S§W¡WÐ-DÓ%Eð%
ð *¨3¯7©7Ð3PÓ+Qð%
ð ˜CŸG™G NÓ3ð%
ð ˜sŸw™wÐ'8Ó9ð%
ð Ðdg×dkÑdkÐl~Ódð  eLÔ 9× CÑ CÀCÇGÁGÐL^ÓD_Ô `ð  RVð%
ð ÐSV×SZÑSZÐ[fÓSgÐSsÔ/×9Ñ9¸#¿'¹'À+Ó:NÔOÐy}ð%
ð ˜Ÿ™ 
Ó+ð%
ð  §¡Ð(:Ó ;ð%
ð ˜#Ÿ'™' ,Ó/ð%
ð  " 3§7¡7Ð+@Ó#Að!%
ð" ÐQT×QXÑQXÐYfÓQgÐQsÔ+×5Ñ5°c·g±g¸mÓ6LÔMÐy}ð#%
ð$ Ÿ7™7 =Ó1Øcf×cjÑcjÐkyÓczð  dGÀsÇwÁwÈ~ÓG^Ö_¸eœ[×2Ñ2°5Õ9Ó_ð  MQò'%
ó ˆð* ˆùò `s   ÈH;)ÚreturnÚstr)rH   r\   r[   r   )rY   r8   r[   r   )"Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r   r-   r.   r/   r0   r1   Ú_LinkEntity__propertiesÚmodel_configr<   rB   ÚclassmethodrI   rM   rA   rE   © r=   r;   r   r      si  … ñð '+€JÐ#Ó*Ø#'€GÐ Ó'Ø'+€KÐ$Ó+Ø)-€MÐ&Ó-Ø;?€KÐ8Ó?Ø@DÐÐ=ÓDØ26ÐÐ/Ó6ØKOÐÐ!HÓOØ(,€LÐ%Ó,Ø+/€OÐ(Ó/Ø<@ÐÐ9Ó@Ø26€IÐ/Ó6Ø$(€HÐ!Ó(Ø,0ÐÐ)Ó0Ù16¸tð  Rô  2@€JÐ.ó  @Ø04ÐÐ-Ó4Ø.2€KÐ+Ó2Ù',°Tð  HAô  (B€KÐ$ó  BØ04€LÐ-Ó4ò _€Lð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðòð0 òó ñr=   r   )&r`   Ú
__future__r   r6   Úrer?   r   r   Ú/cashfree_pg.models.link_customer_details_entityr   Ú,cashfree_pg.models.link_meta_response_entityr   Ú%cashfree_pg.models.link_notify_entityr   Úcashfree_pg.models.vendor_splitr	   Úpydanticr
   r   r   r   r   r   r   r   r   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   Úmodel_rebuildre   r=   r;   ú<module>rp      sb   ðñ
õ #Û Û 	Û ç #õ VÝ OÝ BÝ 7÷ X÷  X÷  Xß :× :Ý 'ôk�ô kð^ × Ñ Õ r=   