Class LfpMerchantStateService.LfpMerchantStateServiceClient
Client for LfpMerchantStateService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Lfp.V1Beta
Assembly: Google.Shopping.Merchant.Lfp.V1Beta.dll
Syntax
public class LfpMerchantStateService.LfpMerchantStateServiceClient : ClientBase<LfpMerchantStateService.LfpMerchantStateServiceClient>
Constructors
LfpMerchantStateServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected LfpMerchantStateServiceClient()
LfpMerchantStateServiceClient(CallInvoker)
Creates a new client for LfpMerchantStateService that uses a custom CallInvoker.
Declaration
public LfpMerchantStateServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
LfpMerchantStateServiceClient(ChannelBase)
Creates a new client for LfpMerchantStateService
Declaration
public LfpMerchantStateServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
LfpMerchantStateServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected LfpMerchantStateServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetLfpMerchantState(GetLfpMerchantStateRequest, CallOptions)
Gets the LFP state of a merchant
Declaration
public virtual LfpMerchantState GetLfpMerchantState(GetLfpMerchantStateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLfpMerchantStateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| LfpMerchantState | The response received from the server. |
GetLfpMerchantState(GetLfpMerchantStateRequest, Metadata, DateTime?, CancellationToken)
Gets the LFP state of a merchant
Declaration
public virtual LfpMerchantState GetLfpMerchantState(GetLfpMerchantStateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLfpMerchantStateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| LfpMerchantState | The response received from the server. |
GetLfpMerchantStateAsync(GetLfpMerchantStateRequest, CallOptions)
Gets the LFP state of a merchant
Declaration
public virtual AsyncUnaryCall<LfpMerchantState> GetLfpMerchantStateAsync(GetLfpMerchantStateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLfpMerchantStateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<LfpMerchantState> | The call object. |
GetLfpMerchantStateAsync(GetLfpMerchantStateRequest, Metadata, DateTime?, CancellationToken)
Gets the LFP state of a merchant
Declaration
public virtual AsyncUnaryCall<LfpMerchantState> GetLfpMerchantStateAsync(GetLfpMerchantStateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLfpMerchantStateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<LfpMerchantState> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override LfpMerchantStateService.LfpMerchantStateServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| LfpMerchantStateService.LfpMerchantStateServiceClient |