C# Class SmsRu.SmsRuProvider

Класс для работы с SMS.RU API. ISmsProvider - интерфейс, в котором описаны сигнатуры методов для работы с API.
Inheritance: ISmsProvider
Datei anzeigen Open project: GennadyKarasev/SmsRu Class Usage Examples

Public Methods

Method Description
AuthCheck ( EnumAuthenticationTypes authType ) : ResponseOnAuthRequest
CheckBalance ( EnumAuthenticationTypes authType ) : String
CheckCost ( String to, String text, EnumAuthenticationTypes authType ) : String
CheckLimit ( EnumAuthenticationTypes authType ) : String
CheckSenders ( EnumAuthenticationTypes authType ) : String
CheckStatus ( String id, EnumAuthenticationTypes authType ) : ResponseOnStatusRequest
GetToken ( ) : String
Send ( String from, String to, String text ) : String
Send ( String from, String to, String text, System.DateTime dateTime ) : String
Send ( String from, String to, String text, System.DateTime dateTime, EnumAuthenticationTypes authType ) : String
Send ( String from, String to, String text, EnumAuthenticationTypes authType ) : String
SendByEmail ( String to, String text ) : ResponseOnSendRequest
SendMultiple ( String from, String>.Dictionary toAndText ) : String
SendMultiple ( String from, String>.Dictionary toAndText, System.DateTime dateTime ) : String
SendMultiple ( String from, String>.Dictionary toAndText, System.DateTime dateTime, EnumAuthenticationTypes authType ) : String
SendMultiple ( String from, String>.Dictionary toAndText, EnumAuthenticationTypes authType ) : String
StoplistAdd ( String phone, String text, EnumAuthenticationTypes authType ) : System.Boolean
StoplistDelete ( String phone, EnumAuthenticationTypes authType ) : System.Boolean
StoplistGet ( EnumAuthenticationTypes authType ) : String

Method Details

AuthCheck() public method

public AuthCheck ( EnumAuthenticationTypes authType ) : ResponseOnAuthRequest
authType EnumAuthenticationTypes
return ResponseOnAuthRequest

CheckBalance() public method

public CheckBalance ( EnumAuthenticationTypes authType ) : String
authType EnumAuthenticationTypes
return String

CheckCost() public method

public CheckCost ( String to, String text, EnumAuthenticationTypes authType ) : String
to String
text String
authType EnumAuthenticationTypes
return String

CheckLimit() public method

public CheckLimit ( EnumAuthenticationTypes authType ) : String
authType EnumAuthenticationTypes
return String

CheckSenders() public method

public CheckSenders ( EnumAuthenticationTypes authType ) : String
authType EnumAuthenticationTypes
return String

CheckStatus() public method

public CheckStatus ( String id, EnumAuthenticationTypes authType ) : ResponseOnStatusRequest
id String
authType EnumAuthenticationTypes
return ResponseOnStatusRequest

GetToken() public method

public GetToken ( ) : String
return String

Send() public method

public Send ( String from, String to, String text ) : String
from String
to String
text String
return String

Send() public method

public Send ( String from, String to, String text, System.DateTime dateTime ) : String
from String
to String
text String
dateTime System.DateTime
return String

Send() public method

public Send ( String from, String to, String text, System.DateTime dateTime, EnumAuthenticationTypes authType ) : String
from String
to String
text String
dateTime System.DateTime
authType EnumAuthenticationTypes
return String

Send() public method

public Send ( String from, String to, String text, EnumAuthenticationTypes authType ) : String
from String
to String
text String
authType EnumAuthenticationTypes
return String

SendByEmail() public method

public SendByEmail ( String to, String text ) : ResponseOnSendRequest
to String
text String
return ResponseOnSendRequest

SendMultiple() public method

public SendMultiple ( String from, String>.Dictionary toAndText ) : String
from String
toAndText String>.Dictionary
return String

SendMultiple() public method

public SendMultiple ( String from, String>.Dictionary toAndText, System.DateTime dateTime ) : String
from String
toAndText String>.Dictionary
dateTime System.DateTime
return String

SendMultiple() public method

public SendMultiple ( String from, String>.Dictionary toAndText, System.DateTime dateTime, EnumAuthenticationTypes authType ) : String
from String
toAndText String>.Dictionary
dateTime System.DateTime
authType EnumAuthenticationTypes
return String

SendMultiple() public method

public SendMultiple ( String from, String>.Dictionary toAndText, EnumAuthenticationTypes authType ) : String
from String
toAndText String>.Dictionary
authType EnumAuthenticationTypes
return String

StoplistAdd() public method

public StoplistAdd ( String phone, String text, EnumAuthenticationTypes authType ) : System.Boolean
phone String
text String
authType EnumAuthenticationTypes
return System.Boolean

StoplistDelete() public method

public StoplistDelete ( String phone, EnumAuthenticationTypes authType ) : System.Boolean
phone String
authType EnumAuthenticationTypes
return System.Boolean

StoplistGet() public method

public StoplistGet ( EnumAuthenticationTypes authType ) : String
authType EnumAuthenticationTypes
return String