public class ShoppingContent.Products extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ShoppingContent.Products.Custombatch |
class |
ShoppingContent.Products.Delete |
class |
ShoppingContent.Products.Get |
class |
ShoppingContent.Products.Insert |
class |
ShoppingContent.Products.List |
class |
ShoppingContent.Products.Update |
| Constructor and Description |
|---|
Products() |
| Modifier and Type | Method and Description |
|---|---|
ShoppingContent.Products.Custombatch |
custombatch(ProductsCustomBatchRequest content)
Retrieves, inserts, and deletes multiple products in a single request.
|
ShoppingContent.Products.Delete |
delete(BigInteger merchantId,
String productId)
Deletes a product from your Merchant Center account.
|
ShoppingContent.Products.Get |
get(BigInteger merchantId,
String productId)
Retrieves a product from your Merchant Center account.
|
ShoppingContent.Products.Insert |
insert(BigInteger merchantId,
Product content)
Uploads a product to your Merchant Center account.
|
ShoppingContent.Products.List |
list(BigInteger merchantId)
Lists the products in your Merchant Center account.
|
ShoppingContent.Products.Update |
update(BigInteger merchantId,
String productId,
Product content)
Updates an existing product in your Merchant Center account.
|
public ShoppingContent.Products.Custombatch custombatch(ProductsCustomBatchRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the ProductsCustomBatchRequestIOExceptionpublic ShoppingContent.Products.Delete delete(BigInteger merchantId, String productId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the account that contains the product. This account cannot be a multi-client account.productId - The REST ID of the product.IOExceptionpublic ShoppingContent.Products.Get get(BigInteger merchantId, String productId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the account that contains the product. This account cannot be a multi-client account.productId - The REST ID of the product.IOExceptionpublic ShoppingContent.Products.Insert insert(BigInteger merchantId, Product content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the account that contains the product. This account cannot be a multi-client account.content - the ProductIOExceptionpublic ShoppingContent.Products.List list(BigInteger merchantId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the account that contains the products. This account cannot be a multi-client account.IOExceptionpublic ShoppingContent.Products.Update update(BigInteger merchantId, String productId, Product content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.merchantId - The ID of the account that contains the product. This account cannot be a multi-client account.productId - The REST ID of the product for which to update.content - the ProductIOExceptionCopyright © 2011–2023 Google. All rights reserved.