Represents a purchase of a product in the store.
Public Member Functions | |
| Purchase () | |
| Purchase (String orderId, StringArray productIds, String applicationBundleName, Time timeOfPurchase, String purchaseToken) | |
| Purchase (const Purchase &) | |
| Purchase (Purchase &&) noexcept | |
| Purchase & | operator= (const Purchase &) |
| Purchase & | operator= (Purchase &&) noexcept |
| ~Purchase () | |
Public Attributes | |
| String | orderId |
| A unique order identifier for the transaction (generated by the store). | |
| StringArray | productIds |
| Unique identifiers of the products that were purchased. | |
| String | applicationBundleName |
| This will be bundle ID on iOS and package name on Android, of the application for which this in-app product was purchased. | |
| String | purchaseTime |
| Date of the purchase formatted as timeOfPurchase.toString (true, true, true, true). | |
| Time | timeOfPurchase |
| Date of the purchase as a Time object. | |
| String | purchaseToken |
| Android only: purchase token that should be used to consume purchase, provided that In-App product is consumable. | |
| juce::InAppPurchases::Purchase::Purchase | ( | ) |
Referenced by operator=(), operator=(), Purchase(), Purchase(), and ~Purchase().
| juce::InAppPurchases::Purchase::Purchase | ( | String | orderId, |
| StringArray | productIds, | ||
| String | applicationBundleName, | ||
| Time | timeOfPurchase, | ||
| String | purchaseToken ) |
References applicationBundleName, orderId, productIds, purchaseToken, and timeOfPurchase.
| juce::InAppPurchases::Purchase::Purchase | ( | const Purchase & | ) |
References Purchase().
|
noexcept |
References Purchase().
| juce::InAppPurchases::Purchase::~Purchase | ( | ) |
References Purchase().
References Purchase().
References Purchase().
| String juce::InAppPurchases::Purchase::orderId |
A unique order identifier for the transaction (generated by the store).
Referenced by Purchase().
| StringArray juce::InAppPurchases::Purchase::productIds |
Unique identifiers of the products that were purchased.
Referenced by Purchase().
| String juce::InAppPurchases::Purchase::applicationBundleName |
This will be bundle ID on iOS and package name on Android, of the application for which this in-app product was purchased.
Referenced by Purchase().
| String juce::InAppPurchases::Purchase::purchaseTime |
Date of the purchase formatted as timeOfPurchase.toString (true, true, true, true).
| Time juce::InAppPurchases::Purchase::timeOfPurchase |
Date of the purchase as a Time object.
Referenced by Purchase().
| String juce::InAppPurchases::Purchase::purchaseToken |
Android only: purchase token that should be used to consume purchase, provided that In-App product is consumable.
Referenced by Purchase().