Show / Hide Table of Contents

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 business's participation in all available programs, in addition to methods for explicitly enabling or disabling participation in each program.

Inheritance
object
ProgramsService
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.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 AddMethod on this object.

ProgramsService.ProgramsServiceBase serviceImpl

An object implementing the server-side handling logic.

In this article
Back to top Generated by DocFX