Class OnlineReturnPolicyServiceGrpc (0.8.0)

public final class OnlineReturnPolicyServiceGrpc

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 > OnlineReturnPolicyServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(OnlineReturnPolicyServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(OnlineReturnPolicyServiceGrpc.AsyncService service)
Parameter
Name Description
service OnlineReturnPolicyServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetOnlineReturnPolicyMethod()

public static MethodDescriptor<GetOnlineReturnPolicyRequest,OnlineReturnPolicy> getGetOnlineReturnPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetOnlineReturnPolicyRequest,OnlineReturnPolicy>

getListOnlineReturnPoliciesMethod()

public static MethodDescriptor<ListOnlineReturnPoliciesRequest,ListOnlineReturnPoliciesResponse> getListOnlineReturnPoliciesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListOnlineReturnPoliciesRequest,ListOnlineReturnPoliciesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceBlockingStub

newFutureStub(Channel channel)

public static OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceFutureStub

newStub(Channel channel)

public static OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
OnlineReturnPolicyServiceGrpc.OnlineReturnPolicyServiceStub