Ë
    qûàg¤  ã                   ó2   — d dl mZ ddlmZ  G d„ de«      Zy)é   )ÚResourceé   )ÚURLc                   ó*   ‡ — e Zd Zdˆ fd„	Zi fd„Zˆ xZS )ÚRegistrationLinkc                 óx   •— t         t        | �  |«       t        j                  t        j
                  z   | _        y ©N)Úsuperr   Ú__init__r   ÚV1ÚREGISTRATION_LINK_URLÚbase_url)ÚselfÚclientÚ	__class__s     €úb/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/razorpay/resources/registration_link.pyr   zRegistrationLink.__init__   s)   ø€ ÜÔ Ñ.¨vÔ6ÜŸ™¤×!:Ñ!:Ñ:ˆ�ó    c                 ób   — dj                  | 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Úurls       r   ÚcreatezRegistrationLink.create
   s0   € ð �n‰n˜TŸ]™]¨LÓ9ˆØˆt�}‰}˜S $Ñ1¨&Ñ1Ð1r   r	   )Ú__name__Ú
__module__Ú__qualname__r   r   Ú__classcell__)r   s   @r   r   r      s   ø„ õ;ð ÷ 2r   r   N)Úbaser   Úconstants.urlr   r   © r   r   ú<module>r#      s   ðÝ Ý ô2�xõ 2r   