Class LfpStoreServiceGrpc.LfpStoreServiceFutureStub (0.13.0)

public static final class LfpStoreServiceGrpc.LfpStoreServiceFutureStub extends AbstractFutureStub<LfpStoreServiceGrpc.LfpStoreServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service LfpStoreService.

Service for a LFP partner to submit local stores for a merchant.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > LfpStoreServiceGrpc.LfpStoreServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected LfpStoreServiceGrpc.LfpStoreServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
LfpStoreServiceGrpc.LfpStoreServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteLfpStore(DeleteLfpStoreRequest request)

public ListenableFuture<Empty> deleteLfpStore(DeleteLfpStoreRequest request)

Deletes a store for a target merchant.

Parameter
Name Description
request DeleteLfpStoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getLfpStore(GetLfpStoreRequest request)

public ListenableFuture<LfpStore> getLfpStore(GetLfpStoreRequest request)

Retrieves information about a store.

Parameter
Name Description
request GetLfpStoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LfpStore>

insertLfpStore(InsertLfpStoreRequest request)

public ListenableFuture<LfpStore> insertLfpStore(InsertLfpStoreRequest request)

Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.

Parameter
Name Description
request InsertLfpStoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LfpStore>

listLfpStores(ListLfpStoresRequest request)

public ListenableFuture<ListLfpStoresResponse> listLfpStores(ListLfpStoresRequest request)

Lists the stores of the target merchant, specified by the filter in ListLfpStoresRequest.

Parameter
Name Description
request ListLfpStoresRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListLfpStoresResponse>