C# Class Rock.Store.PromoService

Service class for the store promotions model.
Inheritance: StoreServiceBase
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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].
Résultat List

GetPromos() public méthode

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].
Résultat List

PromoService() public méthode

Initializes a new instance of the PromoService class.
public PromoService ( ) : System
Résultat System