1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Model for RiskEvaluationRiskLevel enum.
use serde::{Deserialize, Serialize};
/// The risk level associated with a payment.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum RiskEvaluationRiskLevel {
/// Indicates Square is still evaluating the payment.
Pending,
/// Indicates payment risk is within the normal range.
Normal,
/// Indicates elevated risk level associated with the payment.
Moderate,
/// Indicates significantly elevated risk level with the payment.
High,
}