mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(router): saving verified domains to business_profile table (#2109)
This commit is contained in:
@ -1012,6 +1012,9 @@ pub struct BusinessProfileCreate {
|
||||
deserialize_with = "payout_routing_algorithm::deserialize_option"
|
||||
)]
|
||||
pub payout_routing_algorithm: Option<serde_json::Value>,
|
||||
|
||||
/// Verified applepay domains for a particular profile
|
||||
pub applepay_verified_domains: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, ToSchema, Serialize)]
|
||||
@ -1073,6 +1076,9 @@ pub struct BusinessProfileResponse {
|
||||
deserialize_with = "payout_routing_algorithm::deserialize_option"
|
||||
)]
|
||||
pub payout_routing_algorithm: Option<serde_json::Value>,
|
||||
|
||||
/// Verified applepay domains for a particular profile
|
||||
pub applepay_verified_domains: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, ToSchema)]
|
||||
@ -1127,4 +1133,7 @@ pub struct BusinessProfileUpdate {
|
||||
deserialize_with = "payout_routing_algorithm::deserialize_option"
|
||||
)]
|
||||
pub payout_routing_algorithm: Option<serde_json::Value>,
|
||||
|
||||
/// Verified applepay domains for a particular profile
|
||||
pub applepay_verified_domains: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user