app_store_server_library/primitives/advanced_commerce/
reason.rs

1use serde::{Deserialize, Serialize};
2
3/// The reason for the Advanced Commerce request.
4#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)]
5#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
6pub enum Reason {
7    Upgrade,
8    Downgrade,
9    ApplyOffer,
10}