app_store_server_library/primitives/expiration_intent.rs
1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// The reason an auto-renewable subscription expired.
4///
5/// [expirationIntent](https://developer.apple.com/documentation/appstoreserverapi/expirationintent)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum ExpirationIntent {
9 CustomerCancelled = 1,
10 BillingError = 2,
11 CustomerDidNotConsentToPriceIncrease = 3,
12 ProductNotAvailable = 4,
13 Other = 5,
14}