refactor(router): remove the payment type column in payment intent (#2462)

This commit is contained in:
ItsMeShashank
2023-10-05 20:56:44 +05:30
committed by GitHub
parent 80f3b1edae
commit 980aa44863
10 changed files with 14 additions and 37 deletions

View File

@ -105,7 +105,6 @@ pub struct PaymentIntent {
// Manual review can occur when the transaction is marked as risky by the frm_processor, payment processor or when there is underpayment/over payment incase of crypto payment
pub merchant_decision: Option<String>,
pub payment_confirm_source: Option<storage_enums::PaymentSource>,
pub payment_type: Option<storage_enums::PaymentType>,
}
#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)]
@ -145,7 +144,6 @@ pub struct PaymentIntentNew {
pub profile_id: Option<String>,
pub merchant_decision: Option<String>,
pub payment_confirm_source: Option<storage_enums::PaymentSource>,
pub payment_type: Option<storage_enums::PaymentType>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]