Class LfpStoreServiceGrpc.LfpStoreServiceStub (0.17.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
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

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>