Class EmailPreferencesService
Service to support the EmailPreferences API.
This service only permits retrieving and updating email preferences for the authenticated user.
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public static class EmailPreferencesService
Methods
BindService(EmailPreferencesServiceBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(EmailPreferencesService.EmailPreferencesServiceBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| EmailPreferencesService.EmailPreferencesServiceBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
| Type | Description |
|---|---|
| ServerServiceDefinition |
BindService(ServiceBinderBase, EmailPreferencesServiceBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, EmailPreferencesService.EmailPreferencesServiceBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
| EmailPreferencesService.EmailPreferencesServiceBase | serviceImpl | An object implementing the server-side handling logic. |