C# Класс Ogone.Request

An order to send to Ogone
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddField ( InFields key, string value ) : void

Add a supplementary field from one of the allowed fields

GetField ( InFields key ) : string

Get a value of a parameter if it already was added

RemoveField ( InFields key ) : void

Remove a field from the added extra supplementary fields

RenderHtmlForm ( string submitButtonText ) : string
Request ( SHA sha, string shaInSignature, string pspID, int orderID, decimal price ) : System
Request ( SHA sha, string shaInSignature, string pspID, int orderID, decimal price, Encoding encoding, Environment environment ) : System

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

Метод Описание
GetAllParameters ( ) : string>.IDictionary

Get a dictionary with all Ogone parameters that were filled in and ordered by key

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

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

Add a supplementary field from one of the allowed fields
public AddField ( InFields key, string value ) : void
key InFields Parametername for Ogone
value string The value of the parameter
Результат void

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

Get a value of a parameter if it already was added
public GetField ( InFields key ) : string
key InFields Parametername for Ogone
Результат string

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

Remove a field from the added extra supplementary fields
public RemoveField ( InFields key ) : void
key InFields Parametername for Ogone
Результат void

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

public RenderHtmlForm ( string submitButtonText ) : string
submitButtonText string
Результат string

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

public Request ( SHA sha, string shaInSignature, string pspID, int orderID, decimal price ) : System
sha SHA
shaInSignature string
pspID string
orderID int
price decimal
Результат System

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

public Request ( SHA sha, string shaInSignature, string pspID, int orderID, decimal price, Encoding encoding, Environment environment ) : System
sha SHA
shaInSignature string
pspID string
orderID int
price decimal
encoding Encoding
environment Environment
Результат System