C# Класс Rock.Store.PromoService

Service class for the store promotions model.
Наследование: StoreServiceBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetPromos ( int categoryId, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List

Gets the promos.

GetPromos ( int categoryId, string &errorResponse, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List

Gets the promos.

PromoService ( ) : System

Initializes a new instance of the PromoService class.

Описание методов

GetPromos() публичный Метод

Gets the promos.
public GetPromos ( int categoryId, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List
categoryId int The category identifier.
isTopFree bool if set to true [is top free].
isFeatured bool if set to true [is featured].
isTopPaid bool if set to true [is top paid].
Результат List

GetPromos() публичный Метод

Gets the promos.
public GetPromos ( int categoryId, string &errorResponse, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List
categoryId int The category identifier.
errorResponse string The error response.
isTopFree bool if set to true [is top free].
isFeatured bool if set to true [is featured].
isTopPaid bool if set to true [is top paid].
Результат List

PromoService() публичный Метод

Initializes a new instance of the PromoService class.
public PromoService ( ) : System
Результат System