Class LfpSaleServiceGrpc.LfpSaleServiceFutureStub (0.8.0)

public static final class LfpSaleServiceGrpc.LfpSaleServiceFutureStub extends AbstractFutureStub<LfpSaleServiceGrpc.LfpSaleServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > LfpSaleServiceGrpc.LfpSaleServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

insertLfpSale(InsertLfpSaleRequest request)

public ListenableFuture<LfpSale> insertLfpSale(InsertLfpSaleRequest request)

Inserts a LfpSale for the given merchant.

Parameter
Name Description
request InsertLfpSaleRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LfpSale>