Ë
    T>{in  ã                  óÎ   — 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	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j;                  «        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)
Ú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 ed¬«      Zded<    ed¬«      Zded<    edd	¬
«      Zded<    ed¬«      Z	ded<    ed¬«      Z
ded<    ed¬«      Zded<    edd¬
«      Zded<    ed¬«      Zded<    ed¬«      Zded<   g d¢Z ed«      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)'ÚCardEMIz%
    Payment method for card emi
    z3The channel for card payments will always be "link")Údescriptionr	   ÚchannelzCustomer card number.Úcard_numberNz$Customer name mentioned on the card.)Údefaultr   zOptional[StrictStr]Úcard_holder_namezCard expiry month.Úcard_expiry_mmzCard expiry year.Úcard_expiry_yyzCVV mentioned on the card.Úcard_cvvz,Card alias as returned by Cashfree Vault APIÚ
card_aliaszÖCard bank name, required for EMI payments. This is the bank user has selected for EMI. One of ["hdfc, "kotak", "icici", "rbl", "bob", "standard chartered", "axis", "au", "yes", "sbi", "fed", "hsbc", "citi", "amex"]Úcard_bank_namezEMI tenure selected by the userr   Ú
emi_tenure©	r   r   r   r   r   r    r!   r"   r#   c                ó$   — |dvrt        d«      ‚|S )zValidates the enum)ÚhdfcÚkotakÚiciciÚrblÚbobzstandard charteredÚaxisÚauÚyesÚsbiÚfedÚhsbcÚcitiÚamexz”must be one of enum values ('hdfc', 'kotak', 'icici', 'rbl', 'bob', 'standard chartered', 'axis', 'au', 'yes', 'sbi', 'fed', 'hsbc', 'citi', 'amex'))Ú
ValueError)ÚclsÚvalues     úY/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/cashfree_pg/models/card_emi.pyÚcard_bank_name_validate_enumz$CardEMI.card_bank_name_validate_enum*   s-   € ð ð  Rñ  RÜð  tó  uð  uØˆó    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    r6   Úto_strzCardEMI.to_str8   s   € ä�~‰~˜dŸi™i°˜iÓ6Ó7Ð7r8   c                óH   — t        j                  | j                  «       «      S )z8Returns the JSON representation of the model using alias)ÚjsonÚdumpsÚto_dictr@   s    r6   Úto_jsonzCardEMI.to_json<   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r8   c                óJ   — | j                  t        j                  |«      «      S )ú0Create an instance of CardEMI from a JSON string)Ú	from_dictrD   Úloads)r4   Újson_strs     r6   Ú	from_jsonzCardEMI.from_json@   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r8   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)rI   zxchannel, card_number, card_holder_name, card_expiry_mm, card_expiry_yy, card_cvv, card_alias, card_bank_name, emi_tenureN)rD   rK   ÚkeysrJ   )r4   rL   Ú	temp_dicts      r6   Úfrom_json_for_one_ofzCardEMI.from_json_for_one_ofE   sU   € ô —J‘J˜xÓ(ˆ	ð Fð  JS÷  JXñ  JXó  JZñ  ZØ—=‘=¤§¡¨HÓ!5Ó6Ð6Ør8   c                ó.   — | j                  di d¬«      }|S )z>Returns the dictionary representation of the model using aliasT)r<   ÚexcludeÚexclude_none)r?   )rA   Ú_dicts     r6   rF   zCardEMI.to_dictM   s&   € à—	‘	 4ð#à'+ð ó -ˆð ˆr8   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	«      |j	                  d
«      dœ	«      }|S )z)Create an instance of CardEMI from a dictNr   r   r   r   r   r    r!   r"   r#   r$   )Ú
isinstancer?   r   Ú	parse_objÚget)r4   ÚobjÚ_objs      r6   rJ   zCardEMI.from_dictU   s³   € ð ˆ;Øä˜#œtÔ$Ü×$Ñ$ SÓ)Ð)ä× Ñ Ø—w‘w˜yÓ)ØŸ7™7 =Ó1Ø #§¡Ð(:Ó ;Ø!Ÿg™gÐ&6Ó7Ø!Ÿg™gÐ&6Ó7ØŸ™ 
Ó+ØŸ'™' ,Ó/Ø!Ÿg™gÐ&6Ó7ØŸ'™' ,Ó/ñ
"
ó 
ˆð ˆr8   )ÚreturnÚstr)rL   r]   r\   r   )rZ   r?   r\   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r   r   r   r    r!   r"   r#   Ú_CardEMI__propertiesr   r7   Úmodel_configrB   rG   ÚclassmethodrM   rQ   rF   rJ   © r8   r6   r   r      s&  … ññ Ð+bÔc€GˆYÓcÙ"Ð/FÔG€K�ÓGÙ,1¸$ÐLrÔ,sÐÐ)ÓsÙ %Ð2FÔ G€N�IÓGÙ %Ð2EÔ F€N�IÓFÙÐ,HÔI€HˆiÓIÙ&+°DÐFtÔ&u€JÐ#ÓuÙ %ð  3fô  !g€N�Ió  gÙ!Ð.OÔP€J�	ÓPò `€LáÐ%Ó&ñó 'ðð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðòð òó ñr8   r   )ra   Ú
__future__r   r=   ÚrerD   r   r   Úpydanticr   r   r   r	   r
   r   r   r   r   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   Úmodel_rebuildrf   r8   r6   ú<module>rm      sS   ðñ
õ #Û Û 	Û ç #÷ X÷  X÷  Xß :× :Ý 'ôNˆiô Nðd × Ñ Õ r8   