Class LfpProvidersService.LfpProvidersServiceClient
Client for LfpProvidersService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public class LfpProvidersService.LfpProvidersServiceClient : ClientBase<LfpProvidersService.LfpProvidersServiceClient>
Constructors
LfpProvidersServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected LfpProvidersServiceClient()
LfpProvidersServiceClient(CallInvoker)
Creates a new client for LfpProvidersService that uses a custom CallInvoker
.
Declaration
public LfpProvidersServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
LfpProvidersServiceClient(ChannelBase)
Creates a new client for LfpProvidersService
Declaration
public LfpProvidersServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
LfpProvidersServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected LfpProvidersServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
FindLfpProviders(FindLfpProvidersRequest, CallOptions)
Find the LFP provider candidates in a given country.
Declaration
public virtual FindLfpProvidersResponse FindLfpProviders(FindLfpProvidersRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
FindLfpProvidersRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
FindLfpProvidersResponse | The response received from the server. |
FindLfpProviders(FindLfpProvidersRequest, Metadata, DateTime?, CancellationToken)
Find the LFP provider candidates in a given country.
Declaration
public virtual FindLfpProvidersResponse FindLfpProviders(FindLfpProvidersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
FindLfpProvidersRequest | 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 |
---|---|
FindLfpProvidersResponse | The response received from the server. |
FindLfpProvidersAsync(FindLfpProvidersRequest, CallOptions)
Find the LFP provider candidates in a given country.
Declaration
public virtual AsyncUnaryCall<FindLfpProvidersResponse> FindLfpProvidersAsync(FindLfpProvidersRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
FindLfpProvidersRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<FindLfpProvidersResponse> | The call object. |
FindLfpProvidersAsync(FindLfpProvidersRequest, Metadata, DateTime?, CancellationToken)
Find the LFP provider candidates in a given country.
Declaration
public virtual AsyncUnaryCall<FindLfpProvidersResponse> FindLfpProvidersAsync(FindLfpProvidersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
FindLfpProvidersRequest | 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<FindLfpProvidersResponse> | The call object. |
LinkLfpProvider(LinkLfpProviderRequest, CallOptions)
Link the specified merchant to a LFP provider for the specified country.
Declaration
public virtual LinkLfpProviderResponse LinkLfpProvider(LinkLfpProviderRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
LinkLfpProviderRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
LinkLfpProviderResponse | The response received from the server. |
LinkLfpProvider(LinkLfpProviderRequest, Metadata, DateTime?, CancellationToken)
Link the specified merchant to a LFP provider for the specified country.
Declaration
public virtual LinkLfpProviderResponse LinkLfpProvider(LinkLfpProviderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
LinkLfpProviderRequest | 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 |
---|---|
LinkLfpProviderResponse | The response received from the server. |
LinkLfpProviderAsync(LinkLfpProviderRequest, CallOptions)
Link the specified merchant to a LFP provider for the specified country.
Declaration
public virtual AsyncUnaryCall<LinkLfpProviderResponse> LinkLfpProviderAsync(LinkLfpProviderRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
LinkLfpProviderRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<LinkLfpProviderResponse> | The call object. |
LinkLfpProviderAsync(LinkLfpProviderRequest, Metadata, DateTime?, CancellationToken)
Link the specified merchant to a LFP provider for the specified country.
Declaration
public virtual AsyncUnaryCall<LinkLfpProviderResponse> LinkLfpProviderAsync(LinkLfpProviderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
LinkLfpProviderRequest | 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<LinkLfpProviderResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override LfpProvidersService.LfpProvidersServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
LfpProvidersService.LfpProvidersServiceClient |