feat(router): pass fields to indicate if the customer address details to be connector from wallets (#5210)

This commit is contained in:
Shankar Singh C
2024-07-05 16:26:39 +05:30
committed by GitHub
parent a2c0d7f095
commit c642d9dcf5
4 changed files with 67 additions and 21 deletions

View File

@ -795,6 +795,12 @@ pub struct PaymentMethodListResponse {
/// flag to indicate whether to perform external 3ds authentication
#[schema(example = true)]
pub request_external_three_ds_authentication: bool,
/// flag that indicates whether to collect shipping details from wallets or from the customer
pub collect_shipping_details_from_wallets: Option<bool>,
/// flag that indicates whether to collect billing details from wallets or from the customer
pub collect_billing_details_from_wallets: Option<bool>,
}
#[derive(Eq, PartialEq, Hash, Debug, serde::Deserialize, ToSchema)]