Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 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}")})");
 }