app_store_server_library/primitives/
account_tenure.rs

1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// The age of the customer’s account.
4///
5/// [accountTenure](https://developer.apple.com/documentation/appstoreserverapi/accounttenure)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum AccountTenure {
9    Undeclared = 0,
10    ZeroToThreeDays = 1,
11    ThreeDaysToTenDays = 2,
12    TenDaysToThirtyDays = 3,
13    ThirtyDaysToNinetyDays = 4,
14    NinetyDaysToOneHundredEightyDays = 5,
15    OneHundredEightyDaysToThreeHundredSixtyFiveDays = 6,
16    GreaterThanThreeHundredSixtyFiveDays = 7,
17}