Data provided to store.register()

interface IRegisterProduct {
    group?: string;
    id: string;
    platform: Platform;
    type: ProductType;
}

Properties

Properties

group?: string

Name of the group your subscription product is a member of.

If you don't set anything, all subscription will be members of the same group.

id: string

Identifier of the product on the store

platform: Platform

The payment platform the product is available on.

Product type, should be one of the defined product types