Class PosResource
The "pos" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class PosResource
Constructors
PosResource(IClientService)
Constructs a new resource.
Declaration
public PosResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
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(ulong, ulong, string)
Deletes a store for the given merchant.
Declaration
public virtual PosResource.DeleteRequest Delete(ulong merchantId, ulong targetMerchantId, string storeCode)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the POS or inventory data provider. |
ulong | targetMerchantId | The ID of the target merchant. |
string | storeCode | A store code that is unique per merchant. |
Returns
Type | Description |
---|---|
PosResource.DeleteRequest |
Get(ulong, ulong, string)
Retrieves information about the given store.
Declaration
public virtual PosResource.GetRequest Get(ulong merchantId, ulong targetMerchantId, string storeCode)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the POS or inventory data provider. |
ulong | targetMerchantId | The ID of the target merchant. |
string | storeCode | A store code that is unique per merchant. |
Returns
Type | Description |
---|---|
PosResource.GetRequest |
Insert(PosStore, ulong, ulong)
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. |
ulong | merchantId | The ID of the POS or inventory data provider. |
ulong | targetMerchantId | The ID of the target merchant. |
Returns
Type | Description |
---|---|
PosResource.InsertRequest |
Inventory(PosInventoryRequest, ulong, ulong)
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. |
ulong | merchantId | The ID of the POS or inventory data provider. |
ulong | targetMerchantId | The ID of the target merchant. |
Returns
Type | Description |
---|---|
PosResource.InventoryRequest |
List(ulong, ulong)
Lists the stores of the target merchant.
Declaration
public virtual PosResource.ListRequest List(ulong merchantId, ulong targetMerchantId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the POS or inventory data provider. |
ulong | targetMerchantId | The ID of the target merchant. |
Returns
Type | Description |
---|---|
PosResource.ListRequest |
Sale(PosSaleRequest, ulong, ulong)
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. |
ulong | merchantId | The ID of the POS or inventory data provider. |
ulong | targetMerchantId | The ID of the target merchant. |
Returns
Type | Description |
---|---|
PosResource.SaleRequest |