app_store_server_library/primitives/delivery_status.rs
1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// A value that indicates whether the app successfully delivered an in-app purchase that works properly.
4///
5/// [deliveryStatus](https://developer.apple.com/documentation/appstoreserverapi/deliverystatus)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum DeliveryStatus {
9 DeliveredAndWorkingProperly = 0,
10 DidNotDeliverDueToQualityIssue = 1,
11 DeliveredWrongItem = 2,
12 DidNotDeliverDueToServerOutage = 3,
13 DidNotDeliverDueToIngameCurrencyChange = 4,
14 DidNotDeliverForOtherReason = 5,
15}