Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AppReceiptIAPMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: The class to represent an in-app purchase in the app receipt.
Example:
// open a receipt
dim f as FolderItem = SpecialFolder.Desktop.Child("receipt")
dim r as AppReceiptMBS = AppReceiptMBS.receiptForFile(f)

// show purchases
dim inAppPurchases() as AppReceiptIAPMBS = r.inAppPurchases
for each p as AppReceiptIAPMBS in inAppPurchases
MsgBox str(p.quantity)+"x "+p.productIdentifier+" "+p.purchaseDate.AbbreviatedDate
next
Notes: This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some examples which use this class:


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


Application   -   AppReceiptMBS




Links
MBS Xojo PDF Plugins