Ë
    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	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¬«      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)ÚAppz
    App payment method
    z@Specify the channel through which the payment must be processed.)Údescriptionr	   ÚchannelzASpecify the provider through which the payment must be processed.Úproviderz;Customer phone number associated with a wallet for payment.Úphone©r   r   r   c                ó$   — |dvrt        d«      ‚|S )zValidates the enum)	ÚgpayÚphonepeÚolaÚpaytmÚamazonÚairtelÚ
freechargeÚmobikwikÚjiozsmust be one of enum values ('gpay', 'phonepe', 'ola', 'paytm', 'amazon', 'airtel', 'freecharge', 'mobikwik', 'jio'))Ú
ValueError)ÚclsÚvalues     úT/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/cashfree_pg/models/app.pyÚprovider_validate_enumzApp.provider_validate_enum$   s'   € ð ÐpÑpÜð  Só  Tð  TØˆó    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    r+   Úto_strz
App.to_str2   s   € ä�~‰~˜dŸi™i°˜iÓ6Ó7Ð7r-   c                óH   — t        j                  | j                  «       «      S )z8Returns the JSON representation of the model using alias)ÚjsonÚdumpsÚto_dictr5   s    r+   Úto_jsonzApp.to_json6   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r-   c                óJ   — | j                  t        j                  |«      «      S )ú,Create an instance of App from a JSON string)Ú	from_dictr9   Úloads)r)   Újson_strs     r+   Ú	from_jsonzApp.from_json:   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r-   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)r>   zchannel, provider, phoneN)r9   r@   Úkeysr?   )r)   rA   Ú	temp_dicts      r+   Úfrom_json_for_one_ofzApp.from_json_for_one_of?   s<   € ô —J‘J˜xÓ(ˆ	Ø%¨¯©Ó)9Ñ9Ø—=‘=¤§¡¨HÓ!5Ó6Ð6Ør-   c                ó.   — | j                  di d¬«      }|S )z>Returns the dictionary representation of the model using aliasT)r1   ÚexcludeÚexclude_none)r4   )r6   Ú_dicts     r+   r;   zApp.to_dictG   s&   € à—	‘	 4ð#à'+ð ó -ˆð ˆr-   c                óâ   — |€yt        |t        «      st        j                  |«      S t        j                  |j	                  d«      |j	                  d«      |j	                  d«      dœ«      }|S )z%Create an instance of App from a dictNr   r   r   r   )Ú
isinstancer4   r   Ú	parse_objÚget)r)   ÚobjÚ_objs      r+   r?   zApp.from_dictO   sc   € ð ˆ;Øä˜#œtÔ$Ü—=‘= Ó%Ð%ä�}‰}Ø—w‘w˜yÓ)ØŸ™ 
Ó+Ø—W‘W˜WÓ%ñ
ó ˆð
 ˆr-   N)ÚreturnÚstr)rA   rR   rQ   r   )rO   r4   rQ   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r   Ú_App__propertiesr   r,   Úmodel_configr7   r<   ÚclassmethodrB   rF   r;   r?   © r-   r+   r   r      s²   … ññ Ð+mÔn€GˆYÓnÙÐ,oÔp€HˆiÓpÙÐ)fÔg€Eˆ9ÓgÚ3€Lá�ZÓ ñó !ðð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðòð òó ñr-   r   )rV   Ú
__future__r   r2   Úrer9   r   r   Úpydanticr   r   r   r	   r
   r   r   r   r   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   Úmodel_rebuildr[   r-   r+   ú<module>rb      sS   ðñ
õ #Û Û 	Û ç #÷ X÷  X÷  Xß :× :Ý 'ôBˆ)ô BðL × Ñ Õ r-   