You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: transformers.rs
    path of file: ./repos/hyperswitch/crates/router/src/connector/paypal
    
    the code of the file until where you have to start completion: use api_models::{enums, payments::BankRedirectData};
use base64::Engine;
use common_utils:
    
    pub fn generate_authorization_value(&self) -> String {
        let auth_id = format!(
            "{}:{}",
            self.get_client_id().expose(),
            self.get_client_secret().expose(),
        );
        format!("Basic {}", consts::BASE64_ENGINE.encode(auth_id))
    }