app_store_server_library/primitives/extend_reason_code.rs
1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// The code that represents the reason for the subscription-renewal-date extension.
4///
5/// [extendReasonCode](https://developer.apple.com/documentation/appstoreserverapi/extendreasoncode)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum ExtendReasonCode {
9 Undeclared = 0,
10 CustomerSatisfaction = 1,
11 Other = 2,
12 ServiceIssueOrOutage = 3,
13}