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

TypeNameDescription
stringservice
stringoper
Nullable<bool>forward

SetStatus

Method

string SetStatus(string id, SmsServiceStatus status, string forward)

Parameters

TypeNameDescription
stringid
SmsServiceStatusstatus
stringforward

GetStatus

Method

string GetStatus(string id)

Parameters

TypeNameDescription
stringid