Class BusinessIdentityServiceGrpc.BusinessIdentityServiceBlockingStub (0.4.0)

public static final class BusinessIdentityServiceGrpc.BusinessIdentityServiceBlockingStub extends AbstractBlockingStub<BusinessIdentityServiceGrpc.BusinessIdentityServiceBlockingStub>

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

Service to support business identity API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > BusinessIdentityServiceGrpc.BusinessIdentityServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

getBusinessIdentity(GetBusinessIdentityRequest request)

public BusinessIdentity getBusinessIdentity(GetBusinessIdentityRequest request)

Retrieves the business identity of an account.

Parameter
Name Description
request GetBusinessIdentityRequest
Returns
Type Description
BusinessIdentity

updateBusinessIdentity(UpdateBusinessIdentityRequest request)

public BusinessIdentity updateBusinessIdentity(UpdateBusinessIdentityRequest request)

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

Parameter
Name Description
request UpdateBusinessIdentityRequest
Returns
Type Description
BusinessIdentity