pub struct SubscriptionPurchaseLineItem {
pub auto_renewing_plan: Option<AutoRenewingPlan>,
pub deferred_item_removal: Option<DeferredItemRemoval>,
pub deferred_item_replacement: Option<DeferredItemReplacement>,
pub expiry_time: Option<DateTime<Utc>>,
pub item_replacement: Option<ItemReplacement>,
pub latest_successful_order_id: Option<String>,
pub offer_details: Option<OfferDetails>,
pub prepaid_plan: Option<PrepaidPlan>,
pub product_id: Option<String>,
pub signup_promotion: Option<SignupPromotion>,
}Expand description
Item-level info for a subscription purchase.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auto_renewing_plan: Option<AutoRenewingPlan>The item is auto renewing.
deferred_item_removal: Option<DeferredItemRemoval>Information for deferred item removal.
deferred_item_replacement: Option<DeferredItemReplacement>Information for deferred item replacement.
expiry_time: Option<DateTime<Utc>>Time at which the subscription expired or will expire unless the access is extended (ex. renews).
item_replacement: Option<ItemReplacement>Details of the item being replaced. This field is only populated if this item replaced another item in a previous subscription and is only available for 60 days after the purchase time.
latest_successful_order_id: Option<String>The order id of the latest successful order associated with this item. Not present if the item is not owned by the user yet (e.g. the item being deferred replaced to).
offer_details: Option<OfferDetails>The offer details for this item.
prepaid_plan: Option<PrepaidPlan>The item is prepaid.
product_id: Option<String>The purchased product ID (for example, ‘monthly001’).
signup_promotion: Option<SignupPromotion>Promotion details about this item. Only set if a promotion was applied during signup.
Trait Implementations§
Source§impl Clone for SubscriptionPurchaseLineItem
impl Clone for SubscriptionPurchaseLineItem
Source§fn clone(&self) -> SubscriptionPurchaseLineItem
fn clone(&self) -> SubscriptionPurchaseLineItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more