public static final class DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingV2Stub extends AbstractBlockingStub<DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service DeveloperRegistrationService.
Service to access Developer Registration.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistrationServiceGrpc.DeveloperRegistrationServiceBlockingV2Stub |
|
getAccountForGcpRegistration(Empty request)
public GetAccountForGcpRegistrationResponse getAccountForGcpRegistration(Empty request)Retrieves the merchant account that the calling GCP is registered with.
| Parameter | |
|---|---|
| Name | Description |
request |
Empty |
| Returns | |
|---|---|
| Type | Description |
GetAccountForGcpRegistrationResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getDeveloperRegistration(GetDeveloperRegistrationRequest request)
public DeveloperRegistration getDeveloperRegistration(GetDeveloperRegistrationRequest request)Retrieves a developer registration for a merchant.
| Parameter | |
|---|---|
| Name | Description |
request |
GetDeveloperRegistrationRequest |
| Returns | |
|---|---|
| Type | Description |
DeveloperRegistration |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|