app_store_server_library/primitives/revocation_reason.rs
1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// The reason for a refunded transaction.
4///
5/// [revocationReason](https://developer.apple.com/documentation/appstoreserverapi/revocationreason)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum RevocationReason {
9 RefundedDueToIssue = 1,
10 RefundedForOtherReason = 0,
11}