Show / Hide Table of Contents

Class PosResource

The "pos" collection of methods.

Inheritance
System.Object
PosResource
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
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class PosResource

Constructors

PosResource(IClientService)

Constructs a new resource.

Declaration
public PosResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Custombatch(PosCustomBatchRequest)

Batches multiple POS-related calls in a single request.

Declaration
public virtual PosResource.CustombatchRequest Custombatch(PosCustomBatchRequest body)
Parameters
Type Name Description
PosCustomBatchRequest body

The body of the request.

Returns
Type Description
PosResource.CustombatchRequest

Delete(UInt64, UInt64, String)

Deletes a store for the given merchant.

Declaration
public virtual PosResource.DeleteRequest Delete(ulong merchantId, ulong targetMerchantId, string storeCode)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the POS or inventory data provider.

System.UInt64 targetMerchantId

The ID of the target merchant.

System.String storeCode

A store code that is unique per merchant.

Returns
Type Description
PosResource.DeleteRequest

Get(UInt64, UInt64, String)

Retrieves information about the given store.

Declaration
public virtual PosResource.GetRequest Get(ulong merchantId, ulong targetMerchantId, string storeCode)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the POS or inventory data provider.

System.UInt64 targetMerchantId

The ID of the target merchant.

System.String storeCode

A store code that is unique per merchant.

Returns
Type Description
PosResource.GetRequest

Insert(PosStore, UInt64, UInt64)

Creates a store for the given merchant.

Declaration
public virtual PosResource.InsertRequest Insert(PosStore body, ulong merchantId, ulong targetMerchantId)
Parameters
Type Name Description
PosStore body

The body of the request.

System.UInt64 merchantId

The ID of the POS or inventory data provider.

System.UInt64 targetMerchantId

The ID of the target merchant.

Returns
Type Description
PosResource.InsertRequest

Inventory(PosInventoryRequest, UInt64, UInt64)

Submit inventory for the given merchant.

Declaration
public virtual PosResource.InventoryRequest Inventory(PosInventoryRequest body, ulong merchantId, ulong targetMerchantId)
Parameters
Type Name Description
PosInventoryRequest body

The body of the request.

System.UInt64 merchantId

The ID of the POS or inventory data provider.

System.UInt64 targetMerchantId

The ID of the target merchant.

Returns
Type Description
PosResource.InventoryRequest

List(UInt64, UInt64)

Lists the stores of the target merchant.

Declaration
public virtual PosResource.ListRequest List(ulong merchantId, ulong targetMerchantId)
Parameters
Type Name Description
System.UInt64 merchantId

The ID of the POS or inventory data provider.

System.UInt64 targetMerchantId

The ID of the target merchant.

Returns
Type Description
PosResource.ListRequest

Sale(PosSaleRequest, UInt64, UInt64)

Submit a sale event for the given merchant.

Declaration
public virtual PosResource.SaleRequest Sale(PosSaleRequest body, ulong merchantId, ulong targetMerchantId)
Parameters
Type Name Description
PosSaleRequest body

The body of the request.

System.UInt64 merchantId

The ID of the POS or inventory data provider.

System.UInt64 targetMerchantId

The ID of the target merchant.

Returns
Type Description
PosResource.SaleRequest
In This Article
Back to top