Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/l/f/lfs-HEAD/order/models.py   lfs(Download)
    def get_pay_link(self):
        """Returns a pay link for the selected payment method.
        """
        if self.payment_method.id == PAYPAL:
            return lfs.payment.utils.create_paypal_link_for_order(self)