C# 클래스 eWAY.Rapid.RapidClientFactory

Factory class to create an instance of IRapidSdkClient
파일 보기 프로젝트 열기: eWAYPayment/eway-rapid-net

공개 메소드들

메소드 설명
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