QEverCloud
3.0.0
Unofficial Evernote Cloud API for Qt
|
#include <types.h>
Public Member Functions | |
bool | operator== (const Accounting &other) const |
bool | operator!= (const Accounting &other) const |
Public Attributes | |
Optional< qint64 > | uploadLimit |
Optional< Timestamp > | uploadLimitEnd |
Optional< qint64 > | uploadLimitNextMonth |
Optional < PremiumOrderStatus::type > | premiumServiceStatus |
Optional< QString > | premiumOrderNumber |
Optional< QString > | premiumCommerceService |
Optional< Timestamp > | premiumServiceStart |
Optional< QString > | premiumServiceSKU |
Optional< Timestamp > | lastSuccessfulCharge |
Optional< Timestamp > | lastFailedCharge |
Optional< QString > | lastFailedChargeReason |
Optional< Timestamp > | nextPaymentDue |
Optional< Timestamp > | premiumLockUntil |
Optional< Timestamp > | updated |
Optional< QString > | premiumSubscriptionNumber |
Optional< Timestamp > | lastRequestedCharge |
Optional< QString > | currency |
Optional< qint32 > | unitPrice |
Optional< qint32 > | businessId |
Optional< QString > | businessName |
Optional< BusinessUserRole::type > | businessRole |
Optional< qint32 > | unitDiscount |
Optional< Timestamp > | nextChargeDate |
This represents the bookkeeping information for the user's subscription.
|
inline |
|
inline |
Optional< qint32 > qevercloud::Accounting::businessId |
DEPRECATED:See BusinessUserInfo.
Optional< QString > qevercloud::Accounting::businessName |
DEPRECATED:See BusinessUserInfo.
Optional< BusinessUserRole::type > qevercloud::Accounting::businessRole |
DEPRECATED:See BusinessUserInfo.
Optional< QString > qevercloud::Accounting::currency |
ISO 4217 currency code
Date the last time a charge was attempted and failed.
Optional< QString > qevercloud::Accounting::lastFailedChargeReason |
Reason provided for the charge failure
Date the last time the user was charged. Null if never charged.
The next time the user will be charged, may or may not be the same as nextPaymentDue
The end of the billing cycle. This could be in the past if there are failed charges.
Optional< QString > qevercloud::Accounting::premiumCommerceService |
The commerce system used (paypal, Google checkout, etc)
An internal variable to manage locking operations on the commerce variables.
Optional< QString > qevercloud::Accounting::premiumOrderNumber |
The order number used by the commerce system to process recurring payments
Optional< QString > qevercloud::Accounting::premiumServiceSKU |
The code associated with the purchase eg. monthly or annual purchase. Clients should interpret this value and localize it.
The start date when this premium promotion began (this number will get overwritten if a premium service is canceled and then re-activated).
Optional< PremiumOrderStatus::type > qevercloud::Accounting::premiumServiceStatus |
Indicates the phases of a premium account during the billing process.
Optional< QString > qevercloud::Accounting::premiumSubscriptionNumber |
The number number identifying the recurring subscription used to make the recurring charges.
Optional< qint32 > qevercloud::Accounting::unitDiscount |
discount per seat in negative amount and smallest unit of the currency (e.g. cents for USD)
Optional< qint32 > qevercloud::Accounting::unitPrice |
charge in the smallest unit of the currency (e.g. cents for USD)
The date any modification where made to this record.
Optional< qint64 > qevercloud::Accounting::uploadLimit |
The number of bytes that can be uploaded to the account in the current month. For new notes that are created, this is the length of the note content (in Unicode characters) plus the size of each resource (in bytes). For edited notes, this is the the difference between the old length and the new length (if this is greater than 0) plus the size of each new resource.
The date and time when the current upload limit expires. At this time, the monthly upload count reverts to 0 and a new limit is imposed. This date and time is exclusive, so this is effectively the start of the new month.
Optional< qint64 > qevercloud::Accounting::uploadLimitNextMonth |
When uploadLimitEnd is reached, the service will change uploadLimit to uploadLimitNextMonth. If a premium account is canceled, this mechanism will reset the quota appropriately.