C# Class SIPSorcery.Web.Services.Accounting

Inheritance: IAccounting
Afficher le fichier Open project: sipsorcery/sipsorcery

Méthodes publiques

Méthode Description
AddCustomerAccount ( CustomerAccountJSON customerAccount ) : JSONResult
AddRate ( RateJSON rate ) : JSONResult
DeleteCustomerAccount ( string id ) : JSONResult
DeleteRate ( string id ) : JSONResult
DoesAccountNumberExist ( string accountNumber ) : bool
GetCustomerAccounts ( string where, int offset, int count ) : JSONResult>
GetCustomerAccountsCount ( string where ) : JSONResult
GetRates ( string where, int offset, int count ) : JSONResult>
GetRatesCount ( string where ) : JSONResult
IsAlive ( ) : bool
UpdateCustomerAccount ( CustomerAccountJSON customerAccount ) : JSONResult
UpdateRate ( RateJSON rate ) : JSONResult
VerifyCustomerAccount ( string accountNumber, int pin ) : bool

Private Methods

Méthode Description
AuthoriseRequest ( ) : Customer

Method Details

AddCustomerAccount() public méthode

public AddCustomerAccount ( CustomerAccountJSON customerAccount ) : JSONResult
customerAccount CustomerAccountJSON
Résultat JSONResult

AddRate() public méthode

public AddRate ( RateJSON rate ) : JSONResult
rate SIPSorcery.Entities.RateJSON
Résultat JSONResult

DeleteCustomerAccount() public méthode

public DeleteCustomerAccount ( string id ) : JSONResult
id string
Résultat JSONResult

DeleteRate() public méthode

public DeleteRate ( string id ) : JSONResult
id string
Résultat JSONResult

DoesAccountNumberExist() public méthode

public DoesAccountNumberExist ( string accountNumber ) : bool
accountNumber string
Résultat bool

GetCustomerAccounts() public méthode

public GetCustomerAccounts ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetCustomerAccountsCount() public méthode

public GetCustomerAccountsCount ( string where ) : JSONResult
where string
Résultat JSONResult

GetRates() public méthode

public GetRates ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Résultat JSONResult>

GetRatesCount() public méthode

public GetRatesCount ( string where ) : JSONResult
where string
Résultat JSONResult

IsAlive() public méthode

public IsAlive ( ) : bool
Résultat bool

UpdateCustomerAccount() public méthode

public UpdateCustomerAccount ( CustomerAccountJSON customerAccount ) : JSONResult
customerAccount CustomerAccountJSON
Résultat JSONResult

UpdateRate() public méthode

public UpdateRate ( RateJSON rate ) : JSONResult
rate SIPSorcery.Entities.RateJSON
Résultat JSONResult

VerifyCustomerAccount() public méthode

public VerifyCustomerAccount ( string accountNumber, int pin ) : bool
accountNumber string
pin int
Résultat bool