Loading...
Searching...
No Matches
juce::InAppPurchases::Purchase Struct Reference

Detailed Description

Represents a purchase of a product in the store.


The documentation for this struct was generated from the following file:

Public Member Functions

 Purchase ()
 Purchase (String orderId, StringArray productIds, String applicationBundleName, Time timeOfPurchase, String purchaseToken)
 Purchase (const Purchase &)
 Purchase (Purchase &&) noexcept
Purchaseoperator= (const Purchase &)
Purchaseoperator= (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.

Constructors and Destructors

◆ Purchase() [1/4]

juce::InAppPurchases::Purchase::Purchase ( )

◆ Purchase() [2/4]

juce::InAppPurchases::Purchase::Purchase ( String orderId,
StringArray productIds,
String applicationBundleName,
Time timeOfPurchase,
String purchaseToken )

◆ Purchase() [3/4]

juce::InAppPurchases::Purchase::Purchase ( const Purchase & )

References Purchase().

◆ Purchase() [4/4]

juce::InAppPurchases::Purchase::Purchase ( Purchase && )
noexcept

References Purchase().

◆ ~Purchase()

juce::InAppPurchases::Purchase::~Purchase ( )

References Purchase().

Member Functions

◆ operator=() [1/2]

Purchase & juce::InAppPurchases::Purchase::operator= ( const Purchase & )

References Purchase().

◆ operator=() [2/2]

Purchase & juce::InAppPurchases::Purchase::operator= ( Purchase && )
noexcept

References Purchase().

Member Data Documentation

◆ orderId

String juce::InAppPurchases::Purchase::orderId

A unique order identifier for the transaction (generated by the store).

Referenced by Purchase().

◆ productIds

StringArray juce::InAppPurchases::Purchase::productIds

Unique identifiers of the products that were purchased.

Referenced by Purchase().

◆ applicationBundleName

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().

◆ purchaseTime

String juce::InAppPurchases::Purchase::purchaseTime

Date of the purchase formatted as timeOfPurchase.toString (true, true, true, true).

◆ timeOfPurchase

Time juce::InAppPurchases::Purchase::timeOfPurchase

Date of the purchase as a Time object.

Referenced by Purchase().

◆ purchaseToken

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().

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram