mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat: add invoice table (#9348)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -876,3 +876,16 @@ impl TryFrom<Connector> for RoutableConnectors {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Enum representing different status an invoice can have.
|
||||
#[derive(Debug, Clone, PartialEq, Eq, strum::Display, strum::EnumString)]
|
||||
pub enum InvoiceStatus {
|
||||
InvoiceCreated,
|
||||
PaymentPending,
|
||||
PaymentPendingTimeout,
|
||||
PaymentSucceeded,
|
||||
PaymentFailed,
|
||||
PaymentCanceled,
|
||||
InvoicePaid,
|
||||
ManualReview,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user