use std::fmt;


#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
pub enum EventTypeView {
    
    Created,
    Attested,
    InvoiceSent,
    Paid,
    Credited,
    InvoiceDue,
    WillBeSentToDebtCollection,
    SentToDebtCollection,
    Cancelled,
    CommentedByDebtor,
    CommentedByCreditor,
    ReadByUser,
    Paused,
    Resumed,
    Disputed,
    UnDisputed,
    SmsSent,
    SmsWillBeSent,
    ReminderSent,
    DebtCollectionSent,
    ManagedForBailiffRegistration,
    WillBeManagedForBailiffRegistration,
    WillSendDebtCollectionInvoice,
    WillSendReminderInvoice,
    OriginalInvoiceDue,
    ReminderDue,
    DebtCollectionDue,
    WillSendPartialInvoice,
    InstallmentPlanPartialInvoiceSent,
    Completed,
    PartialInvoiceDue,
    ManagedForReturnToDebtCollection,
    Updated,
    PaymentWillBeMade,
    MadeManual,
    PaymentCancelled,
    PaymentSent,
    AwatingPaymentAcknowledgment,
    ReminderInvoiceSent,
    WillSendInvoice,
    Moved,
    EmailEvent,
    UnAttested,
    InvoiceSold,
    InvoiceSaleRequestDenied,
    AwaitingInvoiceSaleRequestResponse,
    InvoiceSaleRequestCancelled,
    InvoiceSaleRequested,
    AutogiroPaymentPostponed,
    AutogiroCancelledWithdrawal,
    AutogiroApprovalAdded,
    AutogiroApprovalChanged,
    AutogiroApprovalRemoved,
    AutogiroWithdrawal,
    WillSendLatePaymentInvoice,
    OverPayment,
    FuturePayment,
    EInvoiceRegistered,
    EInvoiceUnregistered,
    EInvoiceWasRejected,
    WrittenOff,
    LongTermSurveilance,
    AppendixAdded,
    AppendixCleared,
    SmsEvent,
    InstallmentPlanRequested,
    SentToBailiff,
    SentToBailiffExecution,
    CreditCardAdded,
    CreditCardRemoved,
    CreditCardWithdrawal,
    CreditCardCancelledWithdrawal,
    VerdictNumberObtained,
    ManagedForBailiffEnforcementRegistration,
    PaymentRefunded,
    Archived,
    Unknown,

}


impl fmt::Display for EventTypeView {


    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "{:?}", self)
    }
    
}