Show / Hide Table of Contents

Class PromotionsService

Service to manage promotions for products.

Inheritance
object
PromotionsService
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Promotions.V1
Assembly: Google.Shopping.Merchant.Promotions.V1.dll
Syntax
public static class PromotionsService

Methods

BindService(PromotionsServiceBase)

Creates service definition that can be registered with a server

Declaration
public static ServerServiceDefinition BindService(PromotionsService.PromotionsServiceBase serviceImpl)
Parameters
Type Name Description
PromotionsService.PromotionsServiceBase serviceImpl

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, PromotionsServiceBase)

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, PromotionsService.PromotionsServiceBase serviceImpl)
Parameters
Type Name Description
ServiceBinderBase serviceBinder

Service methods will be bound by calling AddMethod on this object.

PromotionsService.PromotionsServiceBase serviceImpl

An object implementing the server-side handling logic.

In this article
Back to top Generated by DocFX