pub struct ConsumptionRequest {
pub customer_consented: Option<bool>,
pub consumption_status: Option<ConsumptionStatus>,
pub platform: Option<Platform>,
pub sample_content_provided: Option<bool>,
pub delivery_status: Option<DeliveryStatus>,
pub app_account_token: Option<Uuid>,
pub account_tenure: Option<AccountTenure>,
pub play_time: Option<PlayTime>,
pub lifetime_dollars_refunded: Option<LifetimeDollarsRefunded>,
pub lifetime_dollars_purchased: Option<LifetimeDollarsPurchased>,
pub user_status: Option<UserStatus>,
pub refund_preference: Option<RefundPreference>,
}Expand description
The request body containing consumption information.
Fields§
§customer_consented: Option<bool>A Boolean value that indicates whether the customer consented to provide consumption data to the App Store.
consumption_status: Option<ConsumptionStatus>A value that indicates the extent to which the customer consumed the in-app purchase.
platform: Option<Platform>A value that indicates the platform on which the customer consumed the in-app purchase.
sample_content_provided: Option<bool>A Boolean value that indicates whether you provided, prior to its purchase, a free sample or trial of the content, or information about its functionality.
delivery_status: Option<DeliveryStatus>A value that indicates whether the app successfully delivered an in-app purchase that works properly.
app_account_token: Option<Uuid>The UUID that an app optionally generates to map a customer’s in-app purchase with its resulting App Store transaction.
account_tenure: Option<AccountTenure>The age of the customer’s account.
play_time: Option<PlayTime>A value that indicates the amount of time that the customer used the app.
lifetime_dollars_refunded: Option<LifetimeDollarsRefunded>A value that indicates the total amount, in USD, of refunds the customer has received, in your app, across all platforms.
lifetime_dollars_purchased: Option<LifetimeDollarsPurchased>A value that indicates the total amount, in USD, of in-app purchases the customer has made in your app, across all platforms.
user_status: Option<UserStatus>The status of the customer’s account.
refund_preference: Option<RefundPreference>A value that indicates your preference, based on your operational logic, as to whether Apple should grant the refund.
Trait Implementations§
Source§impl Clone for ConsumptionRequest
impl Clone for ConsumptionRequest
Source§fn clone(&self) -> ConsumptionRequest
fn clone(&self) -> ConsumptionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more