Class ShippingSettingsServiceGrpc.ShippingSettingsServiceStub (0.5.0)

public static final class ShippingSettingsServiceGrpc.ShippingSettingsServiceStub extends AbstractAsyncStub<ShippingSettingsServiceGrpc.ShippingSettingsServiceStub>

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

Service to get method call shipping setting information per Merchant API method.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ShippingSettingsServiceGrpc.ShippingSettingsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getShippingSettings(GetShippingSettingsRequest request, StreamObserver<ShippingSettings> responseObserver)

public void getShippingSettings(GetShippingSettingsRequest request, StreamObserver<ShippingSettings> responseObserver)

Retrieve shipping setting information.

Parameters
Name Description
request GetShippingSettingsRequest
responseObserver io.grpc.stub.StreamObserver<ShippingSettings>

insertShippingSettings(InsertShippingSettingsRequest request, StreamObserver<ShippingSettings> responseObserver)

public void insertShippingSettings(InsertShippingSettingsRequest request, StreamObserver<ShippingSettings> responseObserver)

Replace the shipping setting of a merchant with the request shipping setting. Executing this method requires admin access.

Parameters
Name Description
request InsertShippingSettingsRequest
responseObserver io.grpc.stub.StreamObserver<ShippingSettings>