Class AccountsResource.ReturncarrierResource.CreateRequest
Links return carrier to a merchant account.
Inheritance
System.Object
AccountsResource.ReturncarrierResource.CreateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class CreateRequest : ShoppingContentBaseServiceRequest<AccountReturnCarrier>, IClientServiceRequest<AccountReturnCarrier>, IClientServiceRequest
Constructors
CreateRequest(IClientService, AccountReturnCarrier, Int64)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, AccountReturnCarrier body, long accountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AccountReturnCarrier | body | |
System.Int64 | accountId |
Properties
AccountId
Required. The Merchant Center Account Id under which the Return Carrier is to be linked.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual long AccountId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountReturnCarrier>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountReturnCarrier>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountReturnCarrier>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountReturnCarrier>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountReturnCarrier>.InitParameters()