Class MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceStub (2.19.0)

public static final class MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceStub extends AbstractAsyncStub<MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

Creates a MerchantCenterAccountLink.

Parameters
NameDescription
requestCreateMerchantCenterAccountLinkRequest
responseObserverio.grpc.stub.StreamObserver<Operation>
public void deleteMerchantCenterAccountLink(DeleteMerchantCenterAccountLinkRequest request, StreamObserver<Empty> responseObserver)

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

Parameters
NameDescription
requestDeleteMerchantCenterAccountLinkRequest
responseObserverio.grpc.stub.StreamObserver<Empty>
public void listMerchantCenterAccountLinks(ListMerchantCenterAccountLinksRequest request, StreamObserver<ListMerchantCenterAccountLinksResponse> responseObserver)

Lists all MerchantCenterAccountLinks under the specified parent Catalog.

Parameters
NameDescription
requestListMerchantCenterAccountLinksRequest
responseObserverio.grpc.stub.StreamObserver<ListMerchantCenterAccountLinksResponse>