purchaseType property

int? purchaseType
getter/setter pair

The type of purchase of the subscription.

This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code)

Implementation

core.int? purchaseType;