Class LfpMerchantStateServiceClientImpl
LfpMerchantStateService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Lfp.V1
Assembly: Google.Shopping.Merchant.Lfp.V1.dll
Syntax
public sealed class LfpMerchantStateServiceClientImpl : LfpMerchantStateServiceClient
Remarks
Service for a LFP partner to get the state of a merchant.
For information about onboarding a retailer, see How to onboard a retailer.
Constructors
LfpMerchantStateServiceClientImpl(LfpMerchantStateServiceClient, LfpMerchantStateServiceSettings, ILogger)
Constructs a client wrapper for the LfpMerchantStateService service, with the specified gRPC client and settings.
Declaration
public LfpMerchantStateServiceClientImpl(LfpMerchantStateService.LfpMerchantStateServiceClient grpcClient, LfpMerchantStateServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
LfpMerchantStateService.LfpMerchantStateServiceClient | grpcClient | The underlying gRPC client. |
LfpMerchantStateServiceSettings | settings | The base LfpMerchantStateServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC LfpMerchantStateService client
Declaration
public override LfpMerchantStateService.LfpMerchantStateServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
LfpMerchantStateService.LfpMerchantStateServiceClient |
Overrides
Methods
GetLfpMerchantState(GetLfpMerchantStateRequest, CallSettings)
Gets the LFP state of a merchant
Declaration
public override LfpMerchantState GetLfpMerchantState(GetLfpMerchantStateRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetLfpMerchantStateRequest | 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 |
---|---|
LfpMerchantState | The RPC response. |
Overrides
GetLfpMerchantStateAsync(GetLfpMerchantStateRequest, CallSettings)
Gets the LFP state of a merchant
Declaration
public override Task<LfpMerchantState> GetLfpMerchantStateAsync(GetLfpMerchantStateRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetLfpMerchantStateRequest | 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<LfpMerchantState> | A Task containing the RPC response. |