ó
    �‘h¤  ã                   ó2   • S SK Jr  SSKJr   " S S\5      rg)é   )ÚResourceé   )ÚURLc                   ó8   ^ • \ rS rSrSU 4S jjr0 4S jrSrU =r$ )ÚRegistrationLinké   c                 óx   >• [         [        U ]  U5        [        R                  [        R
                  -   U l        g ©N)Úsuperr   Ú__init__r   ÚV1ÚREGISTRATION_LINK_URLÚbase_url)ÚselfÚclientÚ	__class__s     €ÚhC:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\razorpay/resources/registration_link.pyr   ÚRegistrationLink.__init__   s)   ø€ ÜÔ Ñ.¨vÔ6ÜŸ™¤×!:Ñ!:Ñ:ˆ�ó    c                 ó`   • SR                  U R                  S5      nU R                  " X140 UD6$ )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Úurls       r   ÚcreateÚRegistrationLink.create
   s,   € ð �n‰n˜TŸ]™]¨LÓ9ˆØ�}Š}˜SÑ1¨&Ñ1Ð1r   )r   r
   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r      s   ø† ÷;ð ÷ 2ò 2r   r   N)Úbaser   Úconstants.urlr   r   © r   r   Ú<module>r(      s   ðÝ Ý ô2�xõ 2r   