content  v2.1
Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest Class Reference

Sets (or overrides if it already exists) merchant provided annotations in the form of key-value pairs. A common use case would be to supply us with additional structured information about a line item that cannot be provided via other methods. Submitted key-value pairs can be retrieved as part of the orders resource. More...

Inheritance diagram for Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest:
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest< Google.Apis.ShoppingContent.v2_1.Data.OrdersSetLineItemMetadataResponse >

Public Member Functions

 SetlineitemmetadataRequest (Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.OrdersSetLineItemMetadataRequest body, ulong merchantId, string orderId)
 Constructs a new Setlineitemmetadata request. More...
 

Protected Member Functions

override object GetBody ()
 summary>Gets the method name. More...
 
override void InitParameters ()
 Initializes Setlineitemmetadata parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest< Google.Apis.ShoppingContent.v2_1.Data.OrdersSetLineItemMetadataResponse >
 ShoppingContentBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new ShoppingContentBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes ShoppingContent parameter list. More...
 

Properties

virtual ulong MerchantId [get]
 The ID of the account that manages the order. This cannot be a multi-client account. More...
 
virtual string OrderId [get]
 The ID of the order. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest< Google.Apis.ShoppingContent.v2_1.Data.OrdersSetLineItemMetadataResponse >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

Sets (or overrides if it already exists) merchant provided annotations in the form of key-value pairs. A common use case would be to supply us with additional structured information about a line item that cannot be provided via other methods. Submitted key-value pairs can be retrieved as part of the orders resource.

Constructor & Destructor Documentation

◆ SetlineitemmetadataRequest()

Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest.SetlineitemmetadataRequest ( Google.Apis.Services.IClientService  service,
Google.Apis.ShoppingContent.v2_1.Data.OrdersSetLineItemMetadataRequest  body,
ulong  merchantId,
string  orderId 
)
inline

Constructs a new Setlineitemmetadata request.

Member Function Documentation

◆ GetBody()

override object Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest.GetBody ( )
inlineprotected

summary>Gets the method name.

◆ InitParameters()

override void Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest.InitParameters ( )
inlineprotected

Initializes Setlineitemmetadata parameter list.

Property Documentation

◆ HttpMethod

override string Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest.HttpMethod
get

summary>Gets the REST path.

◆ MerchantId

virtual ulong Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest.MerchantId
get

The ID of the account that manages the order. This cannot be a multi-client account.

◆ MethodName

override string Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest.MethodName
get

summary>Gets the HTTP method.

◆ OrderId

virtual string Google.Apis.ShoppingContent.v2_1.OrdersResource.SetlineitemmetadataRequest.OrderId
get

The ID of the order.


The documentation for this class was generated from the following file: