/// <summary> /// Adds a store-specific product id to link with this object. /// Returns this instance. /// </summary> public IAPProduct AddStoreID(string storeProductId, params AppStore[] stores) { if (StoreIDs == null) { StoreIDs = new IDs(); } StoreIDs.Add(storeProductId, stores); return(this); }
public override string ToString() { return($"(id={Id} enabled={Enabled} type={Type} payouts={Payouts} ids={StoreIDs?.Select(s => $"{s.Key}={s.Value}").Aggregate((i1, i2) => $"{i1}, {i2}")})"); }