app-store-server-library 4.3.0

The Rust server library for the App Store Server API, App Store Server Notifications and Advanced Commerce API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde_repr::{Deserialize_repr, Serialize_repr};

/// The type of offer.
///
/// [offerType](https://developer.apple.com/documentation/appstoreserverapi/offertype)
#[derive(Debug, Clone, Deserialize_repr, Serialize_repr, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum OfferType {
    IntroductoryOffer = 1,
    PromotionalOffer = 2,
    OfferCode = 3,
    WinBackOffer = 4,
}