C# Class Rock.Store.PromoService

Service class for the store promotions model.
Inheritance: StoreServiceBase
Mostra file Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
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.

Method Details

GetPromos() public method

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].
return List

GetPromos() public method

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].
return List

PromoService() public method

Initializes a new instance of the PromoService class.
public PromoService ( ) : System
return System