Class BusinessInfoServiceGrpc.BusinessInfoServiceStub (0.4.0)

public static final class BusinessInfoServiceGrpc.BusinessInfoServiceStub extends AbstractAsyncStub<BusinessInfoServiceGrpc.BusinessInfoServiceStub>

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

Service to support business info API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > BusinessInfoServiceGrpc.BusinessInfoServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getBusinessInfo(GetBusinessInfoRequest request, StreamObserver<BusinessInfo> responseObserver)

public void getBusinessInfo(GetBusinessInfoRequest request, StreamObserver<BusinessInfo> responseObserver)

Retrieves the business info of an account.

Parameters
Name Description
request GetBusinessInfoRequest
responseObserver io.grpc.stub.StreamObserver<BusinessInfo>

updateBusinessInfo(UpdateBusinessInfoRequest request, StreamObserver<BusinessInfo> responseObserver)

public void updateBusinessInfo(UpdateBusinessInfoRequest request, StreamObserver<BusinessInfo> responseObserver)

Updates the business info of an account. Executing this method requires admin access.

Parameters
Name Description
request UpdateBusinessInfoRequest
responseObserver io.grpc.stub.StreamObserver<BusinessInfo>