Class MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceStub (2.50.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateMerchantCenterAccountLinkRequest
responseObserver io.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
Name Description
request DeleteMerchantCenterAccountLinkRequest
responseObserver io.grpc.stub.StreamObserver<Empty>
public void listMerchantCenterAccountLinks(ListMerchantCenterAccountLinksRequest request, StreamObserver<ListMerchantCenterAccountLinksResponse> responseObserver)

Lists all MerchantCenterAccountLinks under the specified parent Catalog.

Parameters
Name Description
request ListMerchantCenterAccountLinksRequest
responseObserver io.grpc.stub.StreamObserver<ListMerchantCenterAccountLinksResponse>