Show / Hide Table of Contents

Class LfpSaleServiceClientImpl

LfpSaleService client wrapper implementation, for convenient use.

Inheritance
object
LfpSaleServiceClient
LfpSaleServiceClientImpl
Inherited Members
LfpSaleServiceClient.DefaultEndpoint
LfpSaleServiceClient.DefaultScopes
LfpSaleServiceClient.ServiceMetadata
LfpSaleServiceClient.CreateAsync(CancellationToken)
LfpSaleServiceClient.Create()
LfpSaleServiceClient.ShutdownDefaultChannelsAsync()
LfpSaleServiceClient.InsertLfpSaleAsync(InsertLfpSaleRequest, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Lfp.V1
Assembly: Google.Shopping.Merchant.Lfp.V1.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
LfpSaleServiceClient.GrpcClient

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
LfpSaleServiceClient.InsertLfpSale(InsertLfpSaleRequest, CallSettings)

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.

Overrides
LfpSaleServiceClient.InsertLfpSaleAsync(InsertLfpSaleRequest, CallSettings)
In this article
Back to top Generated by DocFX