sagapay_sdk/config.rs
1/// Configuration for the SagaPay client
2#[derive(Debug, Clone)]
3pub struct Config {
4 /// SagaPay API key
5 pub api_key: String,
6
7 /// SagaPay API secret
8 pub api_secret: String,
9
10 /// API base URL
11 pub base_url: String,
12}
13
14impl Default for Config {
15 fn default() -> Self {
16 Self {
17 api_key: String::new(),
18 api_secret: String::new(),
19 base_url: "https://api.sagapay.net".to_string(),
20 }
21 }
22}