AccountsResource class

Constructors

AccountsResource.new(ApiRequester client)

Methods

createAndConfigure(CreateAndConfigureAccountRequest request, {String? $fields}) Future<Account>
Creates a Merchant Center account with additional configuration.
delete(String name, {bool? force, String? $fields}) Future<Empty>
Deletes the specified account regardless of its type: standalone, advanced account or sub-account.
get(String name, {String? $fields}) Future<Account>
Retrieves an account from your Merchant Center account.
getAccountForGcpRegistration({String? $fields}) Future<GetAccountForGcpRegistrationResponse>
Retrieves the merchant account that the calling GCP is registered with.
list({String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListAccountsResponse>
Note: For the accounts.list method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID.
listSubaccounts(String provider, {int? pageSize, String? pageToken, String? $fields}) Future<ListSubAccountsResponse>
List all sub-accounts for a given advanced account.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Account request, String name, {String? updateMask, String? $fields}) Future<Account>
Updates an account regardless of its type: standalone, advanced account or sub-account.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited