1
2
3
4
5
6
7
8
9
10
11
//! Model for PaymentDelayAction enum

use serde::{Deserialize, Serialize};

/// Actions that can be applied to [Payment]s when the `delay_duration` has elapsed.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum PaymentDelayAction {
    /// Cancel the payment.
    Cancel,
}