refactor(api_models): shrink Amount (#140)

This commit is contained in:
kos-for-juspay
2022-12-14 14:03:30 +01:00
committed by GitHub
parent 8b8ff8188f
commit a4d64eba7c
25 changed files with 149 additions and 114 deletions

View File

@ -21,7 +21,7 @@ pub async fn construct_refund_router_data<'a, F>(
state: &'a AppState,
connector_id: &str,
merchant_account: &storage::MerchantAccount,
money: (i32, enums::Currency),
money: (i64, enums::Currency),
payment_method_data: Option<&'a api::PaymentMethod>,
payment_intent: &'a storage::PaymentIntent,
payment_attempt: &storage::PaymentAttempt,