mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
fix: percentage float inconsistency problem and api models changes to support surcharge feature (#2550)
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user