Class BusinessInfoServiceGrpc.BusinessInfoServiceBlockingStub (0.10.0)

public static final class BusinessInfoServiceGrpc.BusinessInfoServiceBlockingStub extends AbstractBlockingStub<BusinessInfoServiceGrpc.BusinessInfoServiceBlockingStub>

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

Service to support business info API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > BusinessInfoServiceGrpc.BusinessInfoServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

getBusinessInfo(GetBusinessInfoRequest request)

public BusinessInfo getBusinessInfo(GetBusinessInfoRequest request)

Retrieves the business info of an account.

Parameter
Name Description
request GetBusinessInfoRequest
Returns
Type Description
BusinessInfo

updateBusinessInfo(UpdateBusinessInfoRequest request)

public BusinessInfo updateBusinessInfo(UpdateBusinessInfoRequest request)

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

Parameter
Name Description
request UpdateBusinessInfoRequest
Returns
Type Description
BusinessInfo