Class LfpSaleServiceClientImpl
LfpSaleService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Lfp.V1Beta
Assembly: Google.Shopping.Merchant.Lfp.V1Beta.dll
Syntax
public sealed class LfpSaleServiceClientImpl : LfpSaleServiceClient
Remarks
Service for a LFP partner to submit sales data for a merchant.
Constructors
LfpSaleServiceClientImpl(LfpSaleServiceClient, LfpSaleServiceSettings, ILogger)
Constructs a client wrapper for the LfpSaleService service, with the specified gRPC client and settings.
Declaration
public LfpSaleServiceClientImpl(LfpSaleService.LfpSaleServiceClient grpcClient, LfpSaleServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
LfpSaleService.LfpSaleServiceClient | grpcClient | The underlying gRPC client. |
LfpSaleServiceSettings | settings | The base LfpSaleServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC LfpSaleService client
Declaration
public override LfpSaleService.LfpSaleServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
LfpSaleService.LfpSaleServiceClient |
Overrides
Methods
InsertLfpSale(InsertLfpSaleRequest, CallSettings)
Inserts a LfpSale
for the given merchant.
Declaration
public override LfpSale InsertLfpSale(InsertLfpSaleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertLfpSaleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
LfpSale | The RPC response. |
Overrides
InsertLfpSaleAsync(InsertLfpSaleRequest, CallSettings)
Inserts a LfpSale
for the given merchant.
Declaration
public override Task<LfpSale> InsertLfpSaleAsync(InsertLfpSaleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertLfpSaleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<LfpSale> | A Task containing the RPC response. |