Class IssueResolutionServiceGrpc.IssueResolutionServiceFutureStub (0.2.0)

public static final class IssueResolutionServiceGrpc.IssueResolutionServiceFutureStub extends AbstractFutureStub<IssueResolutionServiceGrpc.IssueResolutionServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service IssueResolutionService.

Service to provide an issue resolution content for account issues and product issues.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > IssueResolutionServiceGrpc.IssueResolutionServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

renderAccountIssues(RenderAccountIssuesRequest request)

public ListenableFuture<RenderAccountIssuesResponse> renderAccountIssues(RenderAccountIssuesRequest request)

Provide a list of business's account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.

Parameter
Name Description
request RenderAccountIssuesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RenderAccountIssuesResponse>

renderProductIssues(RenderProductIssuesRequest request)

public ListenableFuture<RenderProductIssuesResponse> renderProductIssues(RenderProductIssuesRequest request)

Provide a list of issues for business's product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.

Parameter
Name Description
request RenderProductIssuesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RenderProductIssuesResponse>

triggerAction(TriggerActionRequest request)

public ListenableFuture<TriggerActionResponse> triggerAction(TriggerActionRequest request)

Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form. The action can be successfully started only once all required inputs are provided. If any required input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.

Parameter
Name Description
request TriggerActionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TriggerActionResponse>