Class OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceStub (0.3.0)

public static final class OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceStub extends AbstractAsyncStub<OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceStub>

A stub to allow clients to do asynchronous rpc calls to service OnlineReturnPolicyService.

The service facilitates the management of a merchant's remorse return policy configuration, encompassing return policies for both ads and free listings

programs. This API defines the following resource model:

OnlineReturnPolicy

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getOnlineReturnPolicy(GetOnlineReturnPolicyRequest request, StreamObserver<OnlineReturnPolicy> responseObserver)

public void getOnlineReturnPolicy(GetOnlineReturnPolicyRequest request, StreamObserver<OnlineReturnPolicy> responseObserver)

Gets an existing return policy.

Parameters
Name Description
request GetOnlineReturnPolicyRequest
responseObserver io.grpc.stub.StreamObserver<OnlineReturnPolicy>

listOnlineReturnPolicies(ListOnlineReturnPoliciesRequest request, StreamObserver<ListOnlineReturnPoliciesResponse> responseObserver)

public void listOnlineReturnPolicies(ListOnlineReturnPoliciesRequest request, StreamObserver<ListOnlineReturnPoliciesResponse> responseObserver)

Lists all existing return policies.

Parameters
Name Description
request ListOnlineReturnPoliciesRequest
responseObserver io.grpc.stub.StreamObserver<ListOnlineReturnPoliciesResponse>