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 ProductsCustomBatchRequest
IOException
public 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.IOException
public 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.IOException
public 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 Product
IOException
public 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.IOException
public 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 Product
IOException
Copyright © 2011–2024 Google. All rights reserved.