app-store-server-library 4.0.1

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
14
15
16
17
18
use serde::{Deserialize, Serialize};

/// The customer-provided reason for a refund request.
///
/// [consumptionRequestReason](https://developer.apple.com/documentation/appstoreservernotifications/consumptionrequestreason)
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub enum ConsumptionRequestReason {
    #[serde(rename = "UNINTENDED_PURCHASE")]
    UnintendedPurchase,
    #[serde(rename = "FULFILLMENT_ISSUE")]
    FulfillmentIssue,
    #[serde(rename = "UNSATISFIED_WITH_PURCHASE")]
    UnsatisfiedWithPurchase,
    #[serde(rename = "LEGAL")]
    Legal,
    #[serde(rename = "OTHER")]
    Other,
}