class Evernote::EDAM::Type::Accounting
This represents the bookkeeping information for the user's subscription.
<dl>
<dt>uploadLimit</dt> <dd>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. </dd> <dt>uploadLimitEnd</dt> <dd>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. </dd> <dt>uploadLimitNextMonth</dt> <dd> When uploadLimitEnd is reached, the service will change uploadLimit to uploadLimitNextMonth. If a premium account is canceled, this mechanism will reset the quota appropriately. </dd> <dt>premiumServiceStatus</dt> <dd>Indicates the phases of a premium account during the billing process. </dd> <dt>premiumOrderNumber</dt> <dd>The order number used by the commerce system to process recurring payments </dd> <dt>premiumServiceStart</dt> <dd>The start date when this premium promotion began (this number will get overwritten if a premium service is canceled and then re-activated). </dd> <dt>premiumCommerceService</dt> <dd>The commerce system used (paypal, Google checkout, etc) </dd> <dt>premiumServiceSKU</dt> <dd>The code associated with the purchase eg. monthly or annual purchase. Clients should interpret this value and localize it. </dd> <dt>lastSuccessfulCharge</dt> <dd>Date the last time the user was charged. Null if never charged. </dd> <dt>lastFailedCharge</dt> <dd>Date the last time a charge was attempted and failed. </dd> <dt>lastFailedChargeReason</dt> <dd>Reason provided for the charge failure </dd> <dt>nextPaymentDue</dt> <dd>The end of the billing cycle. This could be in the past if there are failed charges. </dd> <dt>premiumLockUntil</dt> <dd>An internal variable to manage locking operations on the commerce variables. </dd> <dt>updated</dt> <dd>The date any modification where made to this record. </dd> <dt>premiumSubscriptionNumber</dt> <dd>The number number identifying the recurring subscription used to make the recurring charges. </dd> </dl>
Constants
- FIELDS
- LASTFAILEDCHARGE
- LASTFAILEDCHARGEREASON
- LASTREQUESTEDCHARGE
- LASTSUCCESSFULCHARGE
- NEXTPAYMENTDUE
- PREMIUMCOMMERCESERVICE
- PREMIUMLOCKUNTIL
- PREMIUMORDERNUMBER
- PREMIUMSERVICESKU
- PREMIUMSERVICESTART
- PREMIUMSERVICESTATUS
- PREMIUMSUBSCRIPTIONNUMBER
- UPDATED
- UPLOADLIMIT
- UPLOADLIMITEND
- UPLOADLIMITNEXTMONTH
Public Instance Methods
struct_fields()
click to toggle source
# File build/evernote-mode-FpyAOB/evernote-mode-0.41/ruby/Evernote/EDAM/types_types.rb, line 424 def struct_fields; FIELDS; end
validate()
click to toggle source
# File build/evernote-mode-FpyAOB/evernote-mode-0.41/ruby/Evernote/EDAM/types_types.rb, line 426 def validate unless @premiumServiceStatus.nil? || Evernote::EDAM::Type::PremiumOrderStatus::VALID_VALUES.include?(@premiumServiceStatus) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field premiumServiceStatus!') end end