Method Purchase
Purchase(ProductDefinition, string)
Handle a purchase request from a user. Developer payload is provided for stores that define such a concept (Google Play).
Declaration
void Purchase(ProductDefinition product, string developerPayload)
Parameters
Type | Name | Description |
---|---|---|
ProductDefinition | product | The product to be purchased. |
string | developerPayload | The developer payload expected by the specific store implementation |