C# Class Rock.Store.StoreService

Service class for the store category model.
Inheritance: StoreServiceBase
显示文件 Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
AuthenicateUser ( string username, string password ) : bool

Authenicates the user.

AuthenicateUser ( string username, string password, string &errorResponse ) : bool

Authenicates the user.

GetOrganizationKey ( ) : string

Gets the organization key.

OrganizationIsConfigured ( ) : bool

Organizations the is configured.

Purchase ( string username, string password, int packageId, string &errorResponse ) : PurchaseResponse

Purchases the specified username.

StoreService ( ) : System

Initializes a new instance of the StoreService class.

Method Details

AuthenicateUser() public method

Authenicates the user.
public AuthenicateUser ( string username, string password ) : bool
username string The username.
password string The password.
return bool

AuthenicateUser() public method

Authenicates the user.
public AuthenicateUser ( string username, string password, string &errorResponse ) : bool
username string The username.
password string The password.
errorResponse string The error response.
return bool

GetOrganizationKey() public static method

Gets the organization key.
public static GetOrganizationKey ( ) : string
return string

OrganizationIsConfigured() public static method

Organizations the is configured.
public static OrganizationIsConfigured ( ) : bool
return bool

Purchase() public method

Purchases the specified username.
public Purchase ( string username, string password, int packageId, string &errorResponse ) : PurchaseResponse
username string The username.
password string The password.
packageId int The package identifier.
errorResponse string The error response.
return PurchaseResponse

StoreService() public method

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