C# Класс SIPSorcery.Web.Services.Accounting

Наследование: IAccounting
Показать файл Открыть проект

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

Метод Описание
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

Приватные методы

Метод Описание
AuthoriseRequest ( ) : Customer

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

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

public AddCustomerAccount ( CustomerAccountJSON customerAccount ) : JSONResult
customerAccount CustomerAccountJSON
Результат JSONResult

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

public AddRate ( RateJSON rate ) : JSONResult
rate SIPSorcery.Entities.RateJSON
Результат JSONResult

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

public DeleteCustomerAccount ( string id ) : JSONResult
id string
Результат JSONResult

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

public DeleteRate ( string id ) : JSONResult
id string
Результат JSONResult

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

public DoesAccountNumberExist ( string accountNumber ) : bool
accountNumber string
Результат bool

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

public GetCustomerAccounts ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

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

public GetCustomerAccountsCount ( string where ) : JSONResult
where string
Результат JSONResult

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

public GetRates ( string where, int offset, int count ) : JSONResult>
where string
offset int
count int
Результат JSONResult>

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

public GetRatesCount ( string where ) : JSONResult
where string
Результат JSONResult

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

public IsAlive ( ) : bool
Результат bool

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

public UpdateCustomerAccount ( CustomerAccountJSON customerAccount ) : JSONResult
customerAccount CustomerAccountJSON
Результат JSONResult

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

public UpdateRate ( RateJSON rate ) : JSONResult
rate SIPSorcery.Entities.RateJSON
Результат JSONResult

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

public VerifyCustomerAccount ( string accountNumber, int pin ) : bool
accountNumber string
pin int
Результат bool