app_store_server_library/primitives/consumption_status.rs
1use serde_repr::{Deserialize_repr, Serialize_repr};
2
3/// A value that indicates the extent to which the customer consumed the in-app purchase.
4///
5/// [consumptionStatus](https://developer.apple.com/documentation/appstoreserverapi/consumptionstatus)
6#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
7#[repr(u8)]
8pub enum ConsumptionStatus {
9 Undeclared = 0,
10 NotConsumed = 1,
11 PartiallyConsumed = 2,
12 FullyConsumed = 3,
13}