pub struct AppTransaction {Show 13 fields
pub receipt_type: Option<Environment>,
pub app_apple_id: Option<i64>,
pub bundle_id: Option<String>,
pub application_version: Option<String>,
pub version_external_identifier: Option<i64>,
pub receipt_creation_date: Option<DateTime<Utc>>,
pub original_purchase_date: Option<DateTime<Utc>>,
pub original_application_version: Option<String>,
pub device_verification: Option<String>,
pub device_verification_nonce: Option<Uuid>,
pub preorder_date: Option<DateTime<Utc>>,
pub app_transaction_id: Option<String>,
pub original_platform: Option<PurchasePlatform>,
}Expand description
Information that represents the customer’s purchase of the app, cryptographically signed by the App Store.
Fields§
§receipt_type: Option<Environment>The server environment that signs the app transaction. environment
app_apple_id: Option<i64>The unique identifier the App Store uses to identify the app. appId
bundle_id: Option<String>The bundle identifier that the app transaction applies to. bundle_id
application_version: Option<String>The app version that the app transaction applies to. appVersion
version_external_identifier: Option<i64>The version external identifier of the app. appVersionID
receipt_creation_date: Option<DateTime<Utc>>The date that the App Store signed the JWS app transaction. signedDate
original_purchase_date: Option<DateTime<Utc>>The date the user originally purchased the app from the App Store. originalPurchaseDate
original_application_version: Option<String>The app version that the user originally purchased from the App Store. originalAppVersion
device_verification: Option<String>The Base64 device verification value to use to verify whether the app transaction belongs to the device. deviceVerification
device_verification_nonce: Option<Uuid>The UUID used to compute the device verification value. deviceVerificationNonce
preorder_date: Option<DateTime<Utc>>The date the customer placed an order for the app before it’s available in the App Store. preorderDate
app_transaction_id: Option<String>The unique identifier of the app download transaction.
original_platform: Option<PurchasePlatform>The platform on which the customer originally purchased the app.
Implementations§
Source§impl AppTransaction
impl AppTransaction
Sourcepub fn signed_date(&self) -> Option<DateTime<Utc>>
pub fn signed_date(&self) -> Option<DateTime<Utc>>
The date that the App Store signed the JWS app transaction. signedDate
Trait Implementations§
Source§impl Clone for AppTransaction
impl Clone for AppTransaction
Source§fn clone(&self) -> AppTransaction
fn clone(&self) -> AppTransaction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more