feat(router): saving verified domains to business_profile table (#2109)

This commit is contained in:
Prajjwal Kumar
2023-09-11 13:09:04 +05:30
committed by GitHub
parent 5b29c25210
commit 73da641b58
9 changed files with 88 additions and 6 deletions

View File

@ -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>>,
}