Contents

init(receiptProperties:)

Creates a receipt refresh request with optional properties.

Declaration

init(receiptProperties properties: [String : Any]?)

Parameters

  • properties:

    In the test environment, the properties that the new receipt is to have. For keys, see Receipt Properties and Keys.

    In the production environment, set this parameter to nil.

Mentioned in

Return Value

The initialized request.

Discussion

In the sandbox environment, you can initialize a receipt with any combination of properties to test the state transitions related to Volume Purchase Plan receipts. Set the properties when you call this initializer.