using CodeJay.Enum; using UnityEngine; namespace CodeJay { namespace Classes { public class ProductData { /// Play Store Product ID. public string productID; /// Play Store Product Type. public EProductType type; /// Product Name For UI public string productName; /// Product Description For UI public string productDescription; /// Product Price For UI public int price; public Sprite sprite_item; /// Reward Type. public Enum.EProductReward rewardType; /// Reward Amount public int rewardAmount; public ProductData(string productID, EProductType type, string productName, string description, int price, Sprite sprite, EProductReward reward, int rewardAmount) { this.productID = productID; this.type = type; this.productName = productName; this.productDescription = description; this.price = price; this.sprite_item = sprite; this.rewardType = reward; this.rewardAmount = rewardAmount; } } } }