Platforms to show: All Mac Windows Linux Cross-Platform

AppReceiptIAPMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class StoreKit MBS Encryption Plugin 14.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The class to represent an in-app purchase in the app receipt.
Example
// open a receipt
Var f as FolderItem = SpecialFolder.Desktop.Child("receipt")
Var r as AppReceiptMBS = AppReceiptMBS.receiptForFile(f)

// show purchases
Var inAppPurchases() as AppReceiptIAPMBS = r.inAppPurchases
for each p as AppReceiptIAPMBS in inAppPurchases
MsgBox str(p.quantity)+"x "+p.productIdentifier+" "+p.purchaseDate.AbbreviatedDate
next

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Blog Entries

Some methods using this class:

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS Encryption Plugin.


Application   -   AppReceiptMBS


The biggest plugin in space...