Instance Property

applicationUsername

An opaque identifier for the user’s account on your system.

Declaration

var applicationUsername: String? { get }

Discussion

Use this property to help the store detect irregular activity. For example, in a game, it would be unusual for dozens of different iTunes Store accounts to make purchases on behalf of the same in-game character.

The recommended implementation is to use a one-way hash of the user’s account name to calculate the value for this property.

See Also

Getting Payment Details

var productIdentifier: String

A string used to identify a product that can be purchased from within your app.

var quantity: Int

The number of items the user wants to purchase.

var requestData: Data?

Reserved for future use.