QEverCloud
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::PremiumInfo Struct Reference

This structure is used to provide information about a user's Premium account. More...

Public Member Functions

bool operator!= (const PremiumInfo &other) const
 
bool operator== (const PremiumInfo &other) const
 

Public Attributes

bool canPurchaseUploadAllowance
 True if the user is eligible for purchasing additional upload allowance.
 
Timestamp currentTime
 The server-side date and time when this data was generated.
 
bool premium
 True if the user's account is Premium.
 
bool premiumCancellationPending
 True if the user has requested that no further charges to be made; the Premium account will remain active until it expires.
 
Optional< TimestamppremiumExpirationDate
 The date when the user's Premium account expires, or the date when the user's account is due for payment if it has a recurring payment method.
 
bool premiumExtendable
 True if the user is eligible for purchasing Premium account extensions.
 
bool premiumPending
 True if the user's Premium account is pending payment confirmation.
 
bool premiumRecurring
 True if the user's account is Premium and has a recurring payment method.
 
Optional< bool > premiumUpgradable
 True if the user is eligible for purchasing Premium account upgrade.
 
Optional< QString > sponsoredGroupName
 The name of the sponsored group that the user is part of.
 
Optional
< SponsoredGroupRole::type > 
sponsoredGroupRole
 DEPRECATED - will be removed in a future update.
 

Detailed Description

This structure is used to provide information about a user's Premium account.