o
    
¼>h¤  ã                   @   s,   d dl mZ ddlmZ G dd„ deƒZdS )é   )ÚResourceé   )ÚURLc                       s*   e Zd Zd‡ fdd„	Zi fdd„Z‡  ZS )ÚRegistrationLinkNc                    s"   t t| ƒ |¡ tjtj | _d S ©N)Úsuperr   Ú__init__r   ÚV1ÚREGISTRATION_LINK_URLÚbase_url)ÚselfÚclient©Ú	__class__© ú„/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/razorpay/resources/registration_link.pyr      s   zRegistrationLink.__init__c                 K   s"   d  | jd¡}| j||fi |¤ŽS )a
  
        Create a Registration Link
        Args:
            customer : Details of the customer to whom the registration link will be sent.
            type* : In this case the value is link.
            currency* : Currency used in Order
            amount* : Amount of Order
            description : The count may not be greater than 100.
            subscription_registration : Details of the authorization payment.
            notes : A key-value pair
        
        Returns:
            {"success": true}
        z{}/{}Ú
auth_links)Úformatr   Úpost_url)r   ÚdataÚkwargsÚurlr   r   r   Úcreate
   s   zRegistrationLink.creater   )Ú__name__Ú
__module__Ú__qualname__r   r   Ú__classcell__r   r   r   r   r      s    r   N)Úbaser   Úconstants.urlr   r   r   r   r   r   Ú<module>   s    