Ë
    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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 jC                  «        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)ÚAuthorizationDetails)Ú'SubscriptionPaymentEntityFailureDetails)
Ú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<    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<   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d0d-„«       Zy)1ÚSubscriptionPaymentEntityzS
    The response returned in Get, Create or Manage Subscription Payment APIs.
    NzOptional[AuthorizationDetails]Úauthorization_detailsz.Cashfree subscription payment reference number)ÚdefaultÚdescriptionzOptional[StrictStr]Úcf_payment_idz&Cashfree subscription reference numberÚcf_subscription_idz,Cashfree subscription payment transaction IDÚ	cf_txn_idz&Cashfree subscription payment order IDÚcf_order_idz1Optional[SubscriptionPaymentEntityFailureDetails]Úfailure_detailsz!The charge amount of the payment.z'Optional[Union[StrictFloat, StrictInt]]Úpayment_amountz?A unique ID passed by merchant for identifying the transaction.Ú
payment_idz,The date on which the payment was initiated.Úpayment_initiated_datezPayment remarks.Úpayment_remarksz;The date on which the payment is scheduled to be processed.Úpayment_schedule_datezStatus of the payment.Úpayment_statusz$Payment type. Can be AUTH or CHARGE.Úpayment_typezRetry attempts.zOptional[StrictInt]Úretry_attemptsz@A unique ID passed by merchant for identifying the subscription.Úsubscription_id©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    úl/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/cashfree_pg/models/subscription_payment_entity.pyÚto_strz SubscriptionPaymentEntity.to_str9   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_dictr4   s    r6   Úto_jsonz!SubscriptionPaymentEntity.to_json=   s   € ä�z‰z˜$Ÿ,™,›.Ó)Ð)r8   c                óJ   — | j                  t        j                  |«      «      S )úBCreate an instance of SubscriptionPaymentEntity from a JSON string)Ú	from_dictr:   Úloads)ÚclsÚjson_strs     r6   Ú	from_jsonz#SubscriptionPaymentEntity.from_jsonA   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r8   c                óš   — t        j                  |«      }d|j                  «       v r$| j                  t        j                  |«      «      S y)r?   züauthorization_details, cf_payment_id, cf_subscription_id, cf_txn_id, cf_order_id, failure_details, payment_amount, payment_id, payment_initiated_date, payment_remarks, payment_schedule_date, payment_status, payment_type, retry_attempts, subscription_idN)r:   rA   Úkeysr@   )rB   rC   Ú	temp_dicts      r6   Úfrom_json_for_one_ofz.SubscriptionPaymentEntity.from_json_for_one_ofF   sU   € ô —J‘J˜xÓ(ˆ	ð Jð  NW÷  N\ñ  N\ó  N^ñ  ^Ø—=‘=¤§¡¨HÓ!5Ó6Ð6Ør8   c                óÒ   — | j                  di d¬«      }| j                  r| j                  j                  «       |d<   | j                  r| j                  j                  «       |d<   |S )z>Returns the dictionary representation of the model using aliasT)r0   ÚexcludeÚexclude_noner   r"   )r3   r   r<   r"   )r5   Ú_dicts     r6   r<   z!SubscriptionPaymentEntity.to_dictN   sl   € à—	‘	 4ð#à'+ð ó -ˆð
 ×%Ò%Ø-1×-GÑ-G×-OÑ-OÓ-QˆEÐ)Ñ*à×ÒØ'+×';Ñ';×'CÑ'CÓ'EˆEÐ#Ñ$Øˆr8   c                óú  — |€yt        |t        «      st        j                  |«      S t        j                  |j	                  d«      �$t        j                  |j	                  d«      «      nd|j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      |j	                  d«      �$t        j                  |j	                  d«      «      n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 SubscriptionPaymentEntity from a dictNr   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   )Ú
isinstancer3   r   Ú	parse_objÚgetr   r@   r   )rB   ÚobjÚ_objs      r6   r@   z#SubscriptionPaymentEntity.from_dict\   sd  € ð ˆ;Øä˜#œtÔ$Ü,×6Ñ6°sÓ;Ð;ä(×2Ñ2Øil×ipÑipð  rIó  jJð  jVÔ%9×%CÑ%CÀCÇGÁGÐLcÓDdÔ%eð  \`Ø ŸW™W _Ó5Ø"%§'¡'Ð*>Ó"?ØŸ™ Ó-ØŸ7™7 =Ó1Øps×pwÑpwð  yJó  qKð  qWÔF×PÑPÐQT×QXÑQXÐYjÓQkÔlð  ]aØ!Ÿg™gÐ&6Ó7ØŸ'™' ,Ó/Ø&)§g¡gÐ.FÓ&GØ"Ÿw™wÐ'8Ó9Ø%(§W¡WÐ-DÓ%EØ!Ÿg™gÐ&6Ó7ØŸG™G NÓ3Ø!Ÿg™gÐ&6Ó7Ø"Ÿw™wÐ'8Ó9ñ4
ó ˆð" ˆr8   )ÚreturnÚstr)rC   rT   rS   r   )rQ   r3   rS   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r
   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   Ú&_SubscriptionPaymentEntity__propertiesÚmodel_configr7   r=   ÚclassmethodrD   rH   r<   r@   © r8   r6   r   r      s²  … ñð =AÐÐ9Ó@Ù).°tÐIyÔ)z€MÐ&ÓzÙ.3¸DÐNvÔ.wÐÐ+ÓwÙ%*°4ÐEsÔ%t€IÐ"ÓtÙ',°TÐGoÔ'p€KÐ$ÓpØIM€OÐFÓMÙ>CÈDð  _Bô  ?C€NÐ;ó  CÙ&+°Dð  GHô  'I€JÐ#ó  IÙ27Àð  SAô  3BÐÐ/ó  BÙ+0¸ÐK]Ô+^€OÐ(Ó^Ù16¸tð  ROô  2PÐÐ.ó  PÙ*/¸ÐJbÔ*c€NÐ'ÓcÙ(-°dÐHnÔ(o€LÐ%ÓoÙ*/¸ÐJ[Ô*\€NÐ'Ó\Ù+0¸ð  LNô  ,O€OÐ(ó  Oò p€Lð !à Ø#ñ€Ló
8ó*ð ò3ó ð3ð òó ðòð òó ñr8   r   )"rX   Ú
__future__r   r1   Úrer:   r   r   Ú(cashfree_pg.models.authorization_detailsr   Ú>cashfree_pg.models.subscription_payment_entity_failure_detailsr   Úpydanticr   r	   r
   r   r   r   r   r   r   r   Útypingr   r   r   r   r   r   Útyping_extensionsr   r   Úmodel_rebuildr]   r8   r6   ú<module>rf      s\   ðñ
õ #Û Û 	Û ç #õ JÝ r÷ X÷  X÷  Xß :× :Ý 'ôY 	ô Yðz × 'Ñ 'Õ )r8   