mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(payment_methods_list): add is_tax_connector_enabled boolean value in payment_methods_list call response (#5707)
Co-authored-by: Sagnik Mitra <sagnik.mitra@sagnikmitra-JNWPH6GQ9R.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1482,6 +1482,9 @@ pub struct PaymentMethodListResponse {
|
||||
|
||||
/// flag that indicates whether to collect billing details from wallets or from the customer
|
||||
pub collect_billing_details_from_wallets: Option<bool>,
|
||||
|
||||
/// flag that indicates whether to calculate tax on the order amount
|
||||
pub is_tax_calculation_enabled: bool,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Hash, Debug, serde::Deserialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user