ICommonSmsServiceInterface
Assembly: ZennoLab.InterfacesLibrary
Full name: ZennoLab.InterfacesLibrary.SmsService.ICommonSmsServiceInterface
Kind: interface
Interface for sms services
Properties
IsError
Property
bool IsError { get; }
ErrorMessage
Property
string ErrorMessage { get; }
Parameters
Property
string Parameters { get; set; }
Timeout
Property
TimeSpan Timeout { get; set; }
DelayBetweenRequest
Property
TimeSpan DelayBetweenRequest { get; set; }
Methods
GetBalance
Method
string GetBalance()
GetNumber
Method
string GetNumber(string service, string oper, Nullable<bool> forward)
Parameters
| Type | Name | Description |
|---|---|---|
string | service | |
string | oper | |
Nullable<bool> | forward |
SetStatus
Method
string SetStatus(string id, SmsServiceStatus status, string forward)
Parameters
| Type | Name | Description |
|---|---|---|
string | id | |
SmsServiceStatus | status | |
string | forward |
GetStatus
Method
string GetStatus(string id)
Parameters
| Type | Name | Description |
|---|---|---|
string | id |