Class AccountsResource.ReturncarrierResource
The "returncarrier" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccountsResource.ReturncarrierResource
Constructors
ReturncarrierResource(IClientService)
Constructs a new resource.
Declaration
public ReturncarrierResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AccountReturnCarrier, long)
Links return carrier to a merchant account.
Declaration
public virtual AccountsResource.ReturncarrierResource.CreateRequest Create(AccountReturnCarrier body, long accountId)
Parameters
Type | Name | Description |
---|---|---|
AccountReturnCarrier | body | The body of the request. |
long | accountId | Required. The Merchant Center Account Id under which the Return Carrier is to be linked. |
Returns
Type | Description |
---|---|
AccountsResource.ReturncarrierResource.CreateRequest |
Delete(long, long)
Delete a return carrier in the merchant account.
Declaration
public virtual AccountsResource.ReturncarrierResource.DeleteRequest Delete(long accountId, long carrierAccountId)
Parameters
Type | Name | Description |
---|---|---|
long | accountId | Required. The Merchant Center Account Id under which the Return Carrier is to be linked. |
long | carrierAccountId | Required. The Google-provided unique carrier ID, used to update the resource. |
Returns
Type | Description |
---|---|
AccountsResource.ReturncarrierResource.DeleteRequest |
List(long)
Lists available return carriers in the merchant account.
Declaration
public virtual AccountsResource.ReturncarrierResource.ListRequest List(long accountId)
Parameters
Type | Name | Description |
---|---|---|
long | accountId | Required. The Merchant Center Account Id under which the Return Carrier is to be linked. |
Returns
Type | Description |
---|---|
AccountsResource.ReturncarrierResource.ListRequest |
Patch(AccountReturnCarrier, long, long)
Updates a return carrier in the merchant account.
Declaration
public virtual AccountsResource.ReturncarrierResource.PatchRequest Patch(AccountReturnCarrier body, long accountId, long carrierAccountId)
Parameters
Type | Name | Description |
---|---|---|
AccountReturnCarrier | body | The body of the request. |
long | accountId | Required. The Merchant Center Account Id under which the Return Carrier is to be linked. |
long | carrierAccountId | Required. The Google-provided unique carrier ID, used to update the resource. |
Returns
Type | Description |
---|---|
AccountsResource.ReturncarrierResource.PatchRequest |