Adobe DPS - JavaScript Library API

Class adobeDPS-ReceiptService

Extends:
adobeDPS-ReceiptService -> adobeDPS-Service -> adobeDPS-Class

Service for accessing receipt information.
Accessible from adobeDPS.receiptService

Constructor

adobeDPS-ReceiptService()
[inner] Create an instance of the ReceiptService.

Static Fields

Field Defined By
adobeDPS-ReceiptService.instance
The singleton of the ReceiptService.
ReceiptService

Fields

Field Defined By
Signal to indicate that new receipt(s) are available.
ReceiptService
receipts : Object.
An associative array containing all the single folio receipts, indexed by adobeDPS-Receipt#productId.
ReceiptService
An associative array containing all the subscription receipts, indexed by adobeDPS-SubscriptionReceipt#productId + adobeDPS-SubscriptionReceipt#startDate.
ReceiptService
An associative array containing all the available subscriptions, indexed by adobeDPS-Subscription#productId.
ReceiptService

Methods

Method Defined By
Start a restore purchases transaction.
ReceiptService
Inherited from adobeDPS-Class
Gets the string representation of this instance.
Class Detail
adobeDPS-ReceiptService()
[inner] Create an instance of the ReceiptService.
- This is an internal constructor and shouldn't be called by regular users.
Static Field Details
adobeDPS-ReceiptService.instance
The singleton of the ReceiptService.
Field Details
newReceiptsAvailableSignal : adobeDPS-Signal
Signal to indicate that new receipt(s) are available.
Callback Signature: newReceiptsAvailable([ adobeDPS-Receipt, ...])
receipts : Object.
An associative array containing all the single folio receipts, indexed by adobeDPS-Receipt#productId.
subscriptionReceipts : Object.
An associative array containing all the subscription receipts, indexed by adobeDPS-SubscriptionReceipt#productId + adobeDPS-SubscriptionReceipt#startDate.
availableSubscriptions : Object.
An associative array containing all the available subscriptions, indexed by adobeDPS-Subscription#productId.
Method Details
restorePurchases() : adobeDPS-RestorePurchasesTransaction
Start a restore purchases transaction.
WARNING: This function should be used sparingly as it may be limited by the broker.
Returns:
adobeDPS-RestorePurchasesTransaction The started restore purchase transaction
©2012 Adobe Systems, inc
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 01 2012 12:15:46 GMT-0700 (PDT)