C# Класс eWAY.Rapid.RapidClientFactory

Factory class to create an instance of IRapidSdkClient
Показать файл Открыть проект

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

Метод Описание
NewRapidClient ( string apiKey, string password, string rapidEndpoint ) : IRapidClient

Static method to create a new Rapid SDK Client configured to communicate with eWAY's Rapid API

UserDisplayMessage ( string errorCode, string language ) : string

This static/utility method will provide a message suitable for display to a user corresponding to a given Rapid Code/language.

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

NewRapidClient() публичный статический Метод

Static method to create a new Rapid SDK Client configured to communicate with eWAY's Rapid API
public static NewRapidClient ( string apiKey, string password, string rapidEndpoint ) : IRapidClient
apiKey string Rapid API Key
password string Password for the API Key
rapidEndpoint string Possible values ("Production", "Sandbox", or a URL) Production and sandbox will default to the Global Rapid API Endpoints.
Результат IRapidClient

UserDisplayMessage() публичный статический Метод

This static/utility method will provide a message suitable for display to a user corresponding to a given Rapid Code/language.
public static UserDisplayMessage ( string errorCode, string language ) : string
errorCode string Rapid API Error Code e.g. "V6023"
language string Language Code, e.g. "EN" (default) or "ES"
Результат string