Class IssueResolutionServiceGrpc.IssueResolutionServiceStub (0.2.0)

public static final class IssueResolutionServiceGrpc.IssueResolutionServiceStub extends AbstractAsyncStub<IssueResolutionServiceGrpc.IssueResolutionServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > IssueResolutionServiceGrpc.IssueResolutionServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

renderAccountIssues(RenderAccountIssuesRequest request, StreamObserver<RenderAccountIssuesResponse> responseObserver)

public void renderAccountIssues(RenderAccountIssuesRequest request, StreamObserver<RenderAccountIssuesResponse> responseObserver)

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.

Parameters
Name Description
request RenderAccountIssuesRequest
responseObserver io.grpc.stub.StreamObserver<RenderAccountIssuesResponse>

renderProductIssues(RenderProductIssuesRequest request, StreamObserver<RenderProductIssuesResponse> responseObserver)

public void renderProductIssues(RenderProductIssuesRequest request, StreamObserver<RenderProductIssuesResponse> responseObserver)

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.

Parameters
Name Description
request RenderProductIssuesRequest
responseObserver io.grpc.stub.StreamObserver<RenderProductIssuesResponse>

triggerAction(TriggerActionRequest request, StreamObserver<TriggerActionResponse> responseObserver)

public void triggerAction(TriggerActionRequest request, StreamObserver<TriggerActionResponse> responseObserver)

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.

Parameters
Name Description
request TriggerActionRequest
responseObserver io.grpc.stub.StreamObserver<TriggerActionResponse>