Skip to main content

Class IapProduct

Declaration
public class IapProduct : ScriptableObject

Properties

Id

Declaration
public string Id { get; }

Type

Declaration
public ProductType Type { get; }

IapItem

Declaration
public Item IapItem { get; }

Rewards

Declaration
public List<PurchaseReward> Rewards { get; }

Metadata

Declaration
public Metadata Metadata { get; }

Methods

SetMetadata(Metadata)

Declaration
public void SetMetadata(Metadata metadata)
Parameters
TypeName
MatchinghamGames.DealerModule.Models.Metadatametadata

SetIapItem(Item)

Declaration
public void SetIapItem(Item item)
Parameters
TypeName
Global.Itemitem

GetStoreSpecificId(IapStore)

Declaration
public string GetStoreSpecificId(IapStore store)
Returns

System.String

Parameters
TypeName
MatchinghamGames.DealerModule.Models.IapStorestore

TrimId()

Declaration
public void TrimId()