Class ShippingSettingsServiceGrpc.ShippingSettingsServiceBlockingStub (0.5.0)

public static final class ShippingSettingsServiceGrpc.ShippingSettingsServiceBlockingStub extends AbstractBlockingStub<ShippingSettingsServiceGrpc.ShippingSettingsServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ShippingSettingsServiceGrpc.ShippingSettingsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

getShippingSettings(GetShippingSettingsRequest request)

public ShippingSettings getShippingSettings(GetShippingSettingsRequest request)

Retrieve shipping setting information.

Parameter
Name Description
request GetShippingSettingsRequest
Returns
Type Description
ShippingSettings

insertShippingSettings(InsertShippingSettingsRequest request)

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