Class LfpSaleServiceGrpc.LfpSaleServiceStub (0.4.0)

public static final class LfpSaleServiceGrpc.LfpSaleServiceStub extends AbstractAsyncStub<LfpSaleServiceGrpc.LfpSaleServiceStub>

A stub to allow clients to do asynchronous rpc calls to service LfpSaleService.

Service for a LFP partner to submit sales data for a merchant.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > LfpSaleServiceGrpc.LfpSaleServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

insertLfpSale(InsertLfpSaleRequest request, StreamObserver<LfpSale> responseObserver)

public void insertLfpSale(InsertLfpSaleRequest request, StreamObserver<LfpSale> responseObserver)

Inserts a LfpSale for the given merchant.

Parameters
Name Description
request InsertLfpSaleRequest
responseObserver io.grpc.stub.StreamObserver<LfpSale>