Sets the redirect_url of this CreateCheckoutRequest.
        The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to:  `http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx`  If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow.  Default: none; only exists if explicitly set.

        :param redirect_url: The redirect_url of this CreateCheckoutRequest.
        :type: str

def redirect_url(self, redirect_url):
        """
        Sets the redirect_url of this CreateCheckoutRequest.
        The URL to redirect to after checkout is completed with `checkoutId`, Square's `orderId`, `transactionId`, and `referenceId` appended as URL parameters. For example, if the provided redirect_url is `http://www.example.com/order-complete`, a successful transaction redirects the customer to:  `http://www.example.com/order-complete?checkoutId=xxxxxx&orderId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx`  If you do not provide a redirect URL, Square Checkout will display an order confirmation page on your behalf; however Square strongly recommends that you provide a redirect URL so you can verify the transaction results and finalize the order through your existing/normal confirmation workflow.  Default: none; only exists if explicitly set.

        :param redirect_url: The redirect_url of this CreateCheckoutRequest.
        :type: str
        """

        if redirect_url is None:
            raise ValueError("Invalid value for `redirect_url`, must not be `None`")
        if len(redirect_url) > 800:
            raise ValueError("Invalid value for `redirect_url`, length must be less than `800`")

        self._redirect_url = redirect_url