Class DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingStub (1.0.0)

public static final class DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingStub extends AbstractBlockingStub<DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingStub>

A stub to allow clients to do limited synchronous rpc calls to service DeveloperRegistrationService.

Service to access Developer Registration.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

getDeveloperRegistration(GetDeveloperRegistrationRequest request)

public DeveloperRegistration getDeveloperRegistration(GetDeveloperRegistrationRequest request)

Retrieves a developer registration for a merchant.

Parameter
Name Description
request GetDeveloperRegistrationRequest
Returns
Type Description
DeveloperRegistration

registerGcp(RegisterGcpRequest request)

public DeveloperRegistration registerGcp(RegisterGcpRequest request)

Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.

Parameter
Name Description
request RegisterGcpRequest
Returns
Type Description
DeveloperRegistration

unregisterGcp(UnregisterGcpRequest request)

public Empty unregisterGcp(UnregisterGcpRequest request)

Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.

Parameter
Name Description
request UnregisterGcpRequest
Returns
Type Description
Empty