public function withRedirectUrls($redirects)
    {
        if (isset($redirects['success'])) {
            $this->returnUrlSuccess = $redirects['success'];
        }

        if (isset($redirects['cancel'])) {
            $this->returnUrlCancel = $redirects['cancel'];
        }

        if (isset($redirects['back'])) {
            $this->returnUrlBack = $redirects['back'];
        }

        return $this;
    }
public function withRedirectUrls($redirects)
    {
        if (isset($redirects['success'])) {
            $this->returnUrlSuccess = $redirects['success'];
        }

        if (isset($redirects['cancel'])) {
            $this->returnUrlCancel = $redirects['cancel'];
        }

        if (isset($redirects['back'])) {
            $this->returnUrlBack = $redirects['back'];
        }

        return $this;
    }
public function withRedirectUrls ( $ redirects ) { if ( isset ( $ redirects [ 'success' ] ) ) { $ this -> returnUrlSuccess = $ redirects [ 'success' ] ; } if ( isset ( $ redirects [ 'cancel' ] ) ) { $ this -> returnUrlCancel = $ redirects [ 'cancel' ] ; } if ( isset ( $ redirects [ 'back' ] ) ) { $ this -> returnUrlBack = $ redirects [ 'back' ] ; } return $ this ; }
Sets the redirect urls on the request

@param array $redirects
@return RequestCreditCardPayment
Sets the redirect urls on the request