mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
fix(dispute): change dispute currency type to currency enum (#6454)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#[cfg(feature = "payouts")]
|
||||
use api_models::payouts as payout_models;
|
||||
use api_models::{
|
||||
enums::{DisputeStatus, MandateStatus},
|
||||
enums::{Currency, DisputeStatus, MandateStatus},
|
||||
webhooks::{self as api},
|
||||
};
|
||||
#[cfg(feature = "payouts")]
|
||||
@ -93,7 +93,7 @@ pub enum StripeWebhookObject {
|
||||
pub struct StripeDisputeResponse {
|
||||
pub id: String,
|
||||
pub amount: String,
|
||||
pub currency: String,
|
||||
pub currency: Currency,
|
||||
pub payment_intent: common_utils::id_type::PaymentId,
|
||||
pub reason: Option<String>,
|
||||
pub status: StripeDisputeStatus,
|
||||
|
||||
Reference in New Issue
Block a user