Class ProgramsService
Service for program management.
Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the Free product listings program, which enables products from a merchant's store to be shown across Google for free.
This service exposes methods to retrieve a merchant's participation in all available programs, in addition to methods for explicitly enabling or disabling participation in each program.
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public static class ProgramsService
Methods
BindService(ProgramsServiceBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(ProgramsService.ProgramsServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ProgramsService.ProgramsServiceBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
Type | Description |
---|---|
ServerServiceDefinition |
BindService(ServiceBinderBase, ProgramsServiceBase)
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, ProgramsService.ProgramsServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
ProgramsService.ProgramsServiceBase | serviceImpl | An object implementing the server-side handling logic. |