public static final class NotificationsApiServiceGrpc.NotificationsApiServiceBlockingStub extends AbstractBlockingStub<NotificationsApiServiceGrpc.NotificationsApiServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service NotificationsApiService.
Service to manage notification subscriptions for merchants
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
NotificationsApiServiceGrpc.NotificationsApiServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected NotificationsApiServiceGrpc.NotificationsApiServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public NotificationSubscription createNotificationSubscription(CreateNotificationSubscriptionRequest request)
Creates a notification subscription for a merchant. We will allow the
following types of notification subscriptions to exist together (per
merchant as a subscriber per event type):
- Subscription for all managed accounts + subscription for self
- Multiple "partial" subscriptions for managed accounts + subscription
for self
we will not allow (per merchant as a subscriber per event type):
- multiple self subscriptions.
- multiple "all managed accounts" subscriptions.
- all and partial subscriptions at the same time.
- multiple partial subscriptions for the same target account
public Empty deleteNotificationSubscription(DeleteNotificationSubscriptionRequest request)
Deletes a notification subscription for a merchant.
Returns |
Type |
Description |
Empty |
|
public NotificationSubscription getNotificationSubscription(GetNotificationSubscriptionRequest request)
Gets notification subscriptions for an account.
public ListNotificationSubscriptionsResponse listNotificationSubscriptions(ListNotificationSubscriptionsRequest request)
Gets all the notification subscriptions for a merchant.
public NotificationSubscription updateNotificationSubscription(UpdateNotificationSubscriptionRequest request)
Updates an existing notification subscription for a merchant.