pub fn api_url(&self) -> &str {
        match self {
            Environment::Sandbox => "https://api.sandbox.checkout.com",
            Environment::Production => "https://api.checkout.com",
        }
    }
/// Returns the appropriate url for the api depending on the environment
Returns the appropriate url for the api depending on the environment
Returns the appropriate url for the api depending on the environment
pub fn api_url(&self) -> &str {
        match self {
            Environment::Sandbox => "https://api.sandbox.checkout.com",
            Environment::Production => "https://api.checkout.com",
        }
    }
pub fn api_url ( & self ) -> & str { match self { Environment :: Sandbox => " " , Environment :: Production => " " , } }
Returns the appropriate url for the api depending on the environment
Returns the appropriate url for the api depending on the environment
&self
&self