refactor(router): add camel_case for the applepay request (#2172)

This commit is contained in:
Prajjwal Kumar
2023-09-15 16:33:22 +05:30
committed by GitHub
parent 15418a6d0f
commit 4c36fcb34f
3 changed files with 139 additions and 9 deletions

View File

@ -1,6 +1,6 @@
/// The request body for verification of merchant (everything except domain_names are prefilled)
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[serde(rename_all = "camelCase")]
pub struct ApplepayMerchantVerificationConfigs {
pub domain_names: Vec<String>,
pub encrypt_to: String,