Class MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub (2.37.0)

public static final class MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub extends AbstractFutureStub<MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service MerchantCenterAccountLinkService.

Merchant Center Link service to link a Branch to a Merchant Center Account.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Operation> createMerchantCenterAccountLink(CreateMerchantCenterAccountLinkRequest request)

Creates a MerchantCenterAccountLink.

Parameter
NameDescription
requestCreateMerchantCenterAccountLinkRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>
public ListenableFuture<Empty> deleteMerchantCenterAccountLink(DeleteMerchantCenterAccountLinkRequest request)

Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to delete does not exist, a NOT_FOUND error is returned.

Parameter
NameDescription
requestDeleteMerchantCenterAccountLinkRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>
public ListenableFuture<ListMerchantCenterAccountLinksResponse> listMerchantCenterAccountLinks(ListMerchantCenterAccountLinksRequest request)

Lists all MerchantCenterAccountLinks under the specified parent Catalog.

Parameter
NameDescription
requestListMerchantCenterAccountLinksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListMerchantCenterAccountLinksResponse>