fix: percentage float inconsistency problem and api models changes to support surcharge feature (#2550)

This commit is contained in:
Hrithikesh
2023-10-12 13:06:09 +05:30
committed by GitHub
parent ef647b7ab9
commit 1ee11849d4
35 changed files with 390 additions and 47 deletions

View File

@ -294,6 +294,10 @@ pub enum PaymentAttemptUpdate {
MultipleCaptureCountUpdate {
multiple_capture_count: i16,
},
SurchargeAmountUpdate {
surcharge_amount: Option<i64>,
tax_amount: Option<i64>,
},
AmountToCaptureUpdate {
status: storage_enums::AttemptStatus,
amount_capturable: i64,