Exemplo n.º 1
0
 /// <summary>
 /// Deletes an existing product.
 /// </summary>
 /// <param name="entry">the entry to delete</param>
 public void Delete(ProductEntry entry)
 {
     base.Delete(entry);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Updates an existing product entry with the new values
 /// </summary>
 /// <param name="entry">the entry to insert</param>
 /// <returns>the updated entry returned by the server</returns>
 public ProductEntry Update(ProductEntry entry)
 {
     return(base.Update(entry));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Inserts a new product entry.
 /// </summary>
 /// <param name="entry">the entry to insert</param>
 /// <param name="accountId">The account ID of the user.</param>
 /// <param name="projection">a projection determining response values
 /// <returns>the inserted entry</returns>
 public ProductEntry Insert(ProductEntry entry, string accountId, string projection)
 {
     return(base.Insert(CreateUri(accountId, "items/products", projection, null), entry));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Inserts a new product entry into the specified feed.
 /// </summary>
 /// <param name="feed">the feed into which this entry should be inserted</param>
 /// <param name="entry">the entry to insert</param>
 /// <returns>the inserted entry</returns>
 public ProductEntry Insert(ProductFeed feed, ProductEntry entry)
 {
     return(base.Insert(feed, entry));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Inserts a new product entry.
 /// </summary>
 /// <param name="entry">the entry to insert</param>
 /// <returns>the inserted entry</returns>
 public ProductEntry Insert(ProductEntry entry)
 {
     return(base.Insert(CreateUri("items/products", null), entry) as ProductEntry);
 }