mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(core): add support for payment links localization (#5530)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -750,6 +750,7 @@ pub struct HeaderPayload {
|
||||
pub browser_name: Option<api_enums::BrowserName>,
|
||||
pub x_client_platform: Option<api_enums::ClientPlatform>,
|
||||
pub x_merchant_domain: Option<String>,
|
||||
pub locale: Option<String>,
|
||||
}
|
||||
|
||||
impl HeaderPayload {
|
||||
@ -5406,6 +5407,7 @@ pub struct PaymentLinkDetails {
|
||||
pub merchant_description: Option<String>,
|
||||
pub sdk_layout: String,
|
||||
pub display_sdk_only: bool,
|
||||
pub locale: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, Clone)]
|
||||
@ -5430,6 +5432,7 @@ pub struct PaymentLinkStatusDetails {
|
||||
pub redirect: bool,
|
||||
pub theme: String,
|
||||
pub return_url: String,
|
||||
pub locale: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Deserialize, ToSchema, serde::Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user