GoogleMobileAds Framework Reference

GADDefaultInAppPurchase

@interfaceGADDefaultInAppPurchase:NSObject

The consumable in-app purchase item that has been purchased by the user. The purchase flow is
handled by the Google Mobile Ads SDK.
Instances of this class are created and passed to your in-app purchase delegate after the user
has successfully paid for a product. Your code must correctly deliver the product to the user
and then call the didCompletePurchase method to finish the transaction.

Enables the default consumable product in-app purchase flow handled by the Google Mobile Ads
SDK. The GADDefaultInAppPurchaseDelegate object is retained while the default purchase flow is
enabled. This method adds a SKPaymentTransactionObserver to the default SKPaymentQueue.

Call this method early in your application to handle unfinished transactions from previous
application sessions. For example, call this method in your application delegate’s
application:didFinishLaunchingWithOptions: method.

Declaration

Declaration

The purchased item’s completed payment transaction. Your application can use this property’s
data to save a permanent record of the completed payment. The default purchase flow will finish
the transaction on your behalf. Do not finish the transaction yourself.