GANPurchaseReportingController Class

GANPurchaseReportingController Class Reference

Overview

Provides an API for the partner to report purchases from their app.

Inherits NSObject.

Instance Method Summary

(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithMerchantID:
 
(void) - reportPurchaseOfItems:orderID:
 Reports purchases of items from the app. More...
 

Property Summary

NSString * merchantID
 The Merchant Center ID for the client app. More...
 

Method Detail

- (void) reportPurchaseOfItems: (NSArray< GANItemInfo * > *)  items
orderID: (NSString *)  orderID 

Reports purchases of items from the app.

The orderID should be unique within a given partner's purchases to prevent duplicate conversions from being reported.

Parameters
itemsA list of items that were purchased.
orderIDA unique identifier to identify the order.

Property Detail

- (NSString*) merchantID
readnonatomiccopy

The Merchant Center ID for the client app.