public static final class AccountsServiceGrpc.AccountsServiceBlockingStub extends AbstractBlockingStub<AccountsServiceGrpc.AccountsServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service AccountsService.
Service to support Accounts API.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
AccountsServiceGrpc.AccountsServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected AccountsServiceGrpc.AccountsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public Account createAndConfigureAccount(CreateAndConfigureAccountRequest request)
Creates a standalone Merchant Center account with additional configuration.
Adds the user that makes the request as an admin for the new account.
public Empty deleteAccount(DeleteAccountRequest request)
Deletes the specified account regardless of its type: standalone, MCA or
sub-account. Deleting an MCA leads to the deletion of all of its
sub-accounts. Executing this method requires admin access.
Returns |
Type |
Description |
Empty |
|
public Account getAccount(GetAccountRequest request)
Retrieves an account from your Merchant Center account.
After inserting, updating, or deleting an account, it may take several
minutes before changes take effect.
public ListAccountsResponse listAccounts(ListAccountsRequest request)
Lists accounts accessible to the calling user and matching the
constraints of the request such as page size or filters.
This is not just listing the sub-accounts of an MCA, but all accounts the
calling user has access to including other MCAs, linked accounts,
standalone accounts and so on.
public ListSubAccountsResponse listSubAccounts(ListSubAccountsRequest request)
List all sub-accounts for a given multi client account. This is a
convenience wrapper for the more powerful ListAccounts
method. This
method will produce the same results as calling ListsAccounts
with the
following filter:
relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))
public Account updateAccount(UpdateAccountRequest request)
Updates an account regardless of its type: standalone, MCA or sub-account.
Executing this method requires admin access.