Class ShippingSettingsServiceGrpc.ShippingSettingsServiceFutureStub (0.2.0)

public static final class ShippingSettingsServiceGrpc.ShippingSettingsServiceFutureStub extends AbstractFutureStub<ShippingSettingsServiceGrpc.ShippingSettingsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > ShippingSettingsServiceGrpc.ShippingSettingsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getShippingSettings(GetShippingSettingsRequest request)

public ListenableFuture<ShippingSettings> getShippingSettings(GetShippingSettingsRequest request)

Retrieve shipping setting information.

Parameter
Name Description
request GetShippingSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ShippingSettings>

insertShippingSettings(InsertShippingSettingsRequest request)

public ListenableFuture<ShippingSettings> insertShippingSettings(InsertShippingSettingsRequest request)

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

Parameter
Name Description
request InsertShippingSettingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ShippingSettings>