Class LfpStoreServiceGrpc.LfpStoreServiceStub (0.4.0)

public static final class LfpStoreServiceGrpc.LfpStoreServiceStub extends AbstractAsyncStub<LfpStoreServiceGrpc.LfpStoreServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > LfpStoreServiceGrpc.LfpStoreServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteLfpStore(DeleteLfpStoreRequest request, StreamObserver<Empty> responseObserver)

public void deleteLfpStore(DeleteLfpStoreRequest request, StreamObserver<Empty> responseObserver)

Deletes a store for a target merchant.

Parameters
Name Description
request DeleteLfpStoreRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getLfpStore(GetLfpStoreRequest request, StreamObserver<LfpStore> responseObserver)

public void getLfpStore(GetLfpStoreRequest request, StreamObserver<LfpStore> responseObserver)

Retrieves information about a store.

Parameters
Name Description
request GetLfpStoreRequest
responseObserver io.grpc.stub.StreamObserver<LfpStore>

insertLfpStore(InsertLfpStoreRequest request, StreamObserver<LfpStore> responseObserver)

public void insertLfpStore(InsertLfpStoreRequest request, StreamObserver<LfpStore> responseObserver)

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

Parameters
Name Description
request InsertLfpStoreRequest
responseObserver io.grpc.stub.StreamObserver<LfpStore>

listLfpStores(ListLfpStoresRequest request, StreamObserver<ListLfpStoresResponse> responseObserver)

public void listLfpStores(ListLfpStoresRequest request, StreamObserver<ListLfpStoresResponse> responseObserver)

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

Parameters
Name Description
request ListLfpStoresRequest
responseObserver io.grpc.stub.StreamObserver<ListLfpStoresResponse>