Interface IssueResolutionServiceGrpc.AsyncService (0.2.0)

public static interface IssueResolutionServiceGrpc.AsyncService

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

Methods

renderAccountIssues(RenderAccountIssuesRequest request, StreamObserver<RenderAccountIssuesResponse> responseObserver)

public default 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 default 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 default 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>