Class DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceStub (1.0.0)

public static final class DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceStub extends AbstractAsyncStub<DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceStub>

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

Service to access Developer Registration.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getDeveloperRegistration(GetDeveloperRegistrationRequest request, StreamObserver<DeveloperRegistration> responseObserver)

public void getDeveloperRegistration(GetDeveloperRegistrationRequest request, StreamObserver<DeveloperRegistration> responseObserver)

Retrieves a developer registration for a merchant.

Parameters
Name Description
request GetDeveloperRegistrationRequest
responseObserver io.grpc.stub.StreamObserver<DeveloperRegistration>

registerGcp(RegisterGcpRequest request, StreamObserver<DeveloperRegistration> responseObserver)

public void registerGcp(RegisterGcpRequest request, StreamObserver<DeveloperRegistration> responseObserver)

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.

Parameters
Name Description
request RegisterGcpRequest
responseObserver io.grpc.stub.StreamObserver<DeveloperRegistration>

unregisterGcp(UnregisterGcpRequest request, StreamObserver<Empty> responseObserver)

public void unregisterGcp(UnregisterGcpRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
Name Description
request UnregisterGcpRequest
responseObserver io.grpc.stub.StreamObserver<Empty>