QEverCloud
Unofficial Evernote Cloud API for Qt
Public Types | List of all members
qevercloud::PremiumOrderStatus Struct Reference

This enumeration defines the possible states of a premium account. More...

Public Types

enum  type {
  NONE = 0, PENDING = 1, ACTIVE = 2, FAILED = 3,
  CANCELLATION_PENDING = 4, CANCELED = 5
}
 

Detailed Description

This enumeration defines the possible states of a premium account.

NONE: the user has never attempted to become a premium subscriber

PENDING: the user has requested a premium account but their charge has not been confirmed

ACTIVE: the user has been charged and their premium account is in good standing

FAILED: the system attempted to charge the was denied. Their premium privileges have been revoked. We will periodically attempt to re-validate their order.

CANCELLATION_PENDING: the user has requested that no further charges be made but the current account is still active.

CANCELED: the premium account was canceled either because of failure to pay or user cancelation. No more attempts will be made to activate the account.