Ë
    T>{iY  ã                  óÎ   — 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d¬«      Zded<    edd¬«      Zded<    edd	¬«      Zded
<    edd¬«      Z	ded<    edd¬«      Z
ded<    edd¬«      Zded<    edd¬«      Zded<    edd¬«      Zded<    edd¬«      Zded<    edd¬«      Zde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))Ú
PlanEntityzD
    The response returned for Get, Create and Manage Plan APIs
    NzCurrency for the plan.)ÚdefaultÚdescriptionzOptional[StrictStr]Úplan_currencyzPlan ID provided by merchant.Úplan_idzInterval type for the plan.Úplan_interval_typez!Number of intervals for the plan.zOptional[StrictInt]Úplan_intervalszMaximum amount for the plan.z'Optional[Union[StrictFloat, StrictInt]]Úplan_max_amountz.Maximum number of payment cycles for the plan.Úplan_max_cycleszName of the plan.Ú	plan_namezNote for the plan.Ú	plan_notezRecurring amount for the plan.Úplan_recurring_amountzStatus of the plan.Úplan_statuszType of the plan.Ú	plan_type©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/plan_entity.pyÚto_strzPlanEntity.to_str3   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_dictr.   s    r0   Úto_jsonzPlanEntity.to_json7   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r2   c                óJ   — | j                  t        j                  |«      «      S )ú3Create an instance of PlanEntity from a JSON string)Ú	from_dictr4   Úloads)ÚclsÚjson_strs     r0   Ú	from_jsonzPlanEntity.from_json;   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r2   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)r9   z¡plan_currency, plan_id, plan_interval_type, plan_intervals, plan_max_amount, plan_max_cycles, plan_name, plan_note, plan_recurring_amount, plan_status, plan_typeN)r4   r;   Úkeysr:   )r<   r=   Ú	temp_dicts      r0   Úfrom_json_for_one_ofzPlanEntity.from_json_for_one_of@   sU   € ô —J‘J˜xÓ(ˆ	ð oð  s|÷  sAñ  sAó  sCñ  CØ—=‘=¤§¡¨HÓ!5Ó6Ð6Ør2   c                ó.   — | j                  di d¬«      }|S )z>Returns the dictionary representation of the model using aliasT)r*   ÚexcludeÚexclude_none)r-   )r/   Ú_dicts     r0   r6   zPlanEntity.to_dictH   s&   € à—	‘	 4ð#à'+ð ó -ˆð ˆr2   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
«      |j	                  d«      |j	                  d«      dœ«      }|S )z,Create an instance of PlanEntity from a dictNr   r   r   r   r   r    r!   r"   r#   r$   r%   r&   )Ú
isinstancer-   r   Ú	parse_objÚget)r<   ÚobjÚ_objs      r0   r:   zPlanEntity.from_dictP   sÌ   € ð ˆ;Øä˜#œtÔ$Ü×'Ñ'¨Ó,Ð,ä×#Ñ#Ø ŸW™W _Ó5Ø—w‘w˜yÓ)Ø"%§'¡'Ð*>Ó"?Ø!Ÿg™gÐ&6Ó7Ø"Ÿw™wÐ'8Ó9Ø"Ÿw™wÐ'8Ó9ØŸ™ Ó-ØŸ™ Ó-Ø%(§W¡WÐ-DÓ%EØŸ7™7 =Ó1ØŸ™ Ó-ñ%
ó ˆð ˆr2   )ÚreturnÚstr)r=   rN   rM   r   )rK   r-   rM   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r   r   r   r    r!   r"   r#   r$   r%   Ú_PlanEntity__propertiesÚmodel_configr1   r7   Úclassmethodr>   rB   r6   r:   © r2   r0   r   r      sM  … ññ */°tÐIaÔ)b€MÐ&ÓbÙ#(°ÐCbÔ#c€GÐ ÓcÙ.3¸DÐNkÔ.lÐÐ+ÓlÙ*/¸ÐJmÔ*n€NÐ'ÓnÙ?DÈTÐ_}Ô?~€OÐ<Ó~Ù+0¸ÐK{Ô+|€OÐ(Ó|Ù%*°4ÐEXÔ%Y€IÐ"ÓYÙ%*°4ÐEYÔ%Z€IÐ"ÓZÙEJÐSWð  fFô  FGÐÐBó  GÙ',°TÐG\Ô']€KÐ$Ó]Ù%*°4ÐEXÔ%Y€IÐ"ÓYò M€Lð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðòð òó ñr2   r   )rR   Ú
__future__r   r+   Úrer4   r   r   Úpydanticr   r   r   r	   r
   r   r   r   r   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   Úmodel_rebuildrW   r2   r0   ú<module>r^      sS   ðñ
õ #Û Û 	Û ç #÷ X÷  X÷  Xß :× :Ý 'ôK�ô Kð^ × Ñ Õ r2   