Class GiroCheckoutRequest
- Namespace
- GiroSolution.GiroCheckout.Request
- Assembly
- GiroCheckout.dll
Abstrakte Basisklasse für alle Aufrufe in Richtung GiroCheckout
public abstract class GiroCheckoutRequest
- Inheritance
-
GiroCheckoutRequest
- Derived
- Inherited Members
Constructors
GiroCheckoutRequest(Project)
public GiroCheckoutRequest(Project project)
Parameters
projectProject
Fields
HASH
protected const string HASH = "hash"
Field Value
MERCHANT_ID_REQ
protected const string MERCHANT_ID_REQ = "merchantId"
Field Value
PROJECT_ID_REQ
protected const string PROJECT_ID_REQ = "projectId"
Field Value
RESPONSE_HASH_HEADER
protected const string RESPONSE_HASH_HEADER = "hash"
Field Value
RESPONSE_MSG
protected const string RESPONSE_MSG = "msg"
Field Value
RESPONSE_RC
protected const string RESPONSE_RC = "rc"
Field Value
SOURCE_ID
protected const string SOURCE_ID = "sourceId"
Field Value
SOURCE_ID_VALUE
protected const string SOURCE_ID_VALUE = ".NET"
Field Value
otherUrl
protected string otherUrl
Field Value
project
protected Project project
Field Value
Methods
addParameters(List<RequestEntry>)
protected abstract void addParameters(List<GiroCheckoutRequest.RequestEntry> parameters)
Parameters
parametersList<GiroCheckoutRequest.RequestEntry>
doPostRequest(string, string, string, int, int)
protected GiroCheckoutRequest.Response doPostRequest(string gcurl, string messageBody, string responseHeaderFieldName, int connectTimeout, int readTimeout)
Parameters
Returns
executeRequest()
protected JObject executeRequest()
Returns
- JObject
getActualRequestUrl()
protected string getActualRequestUrl()
Returns
getProject()
public Project getProject()
Returns
getRequestParameters()
protected GiroCheckoutRequest.RequestEntry[] getRequestParameters()
Returns
getRequestUrl()
protected abstract string getRequestUrl()
Returns
isRCOK(int)
protected virtual bool isRCOK(int rc)
Parameters
rcint
Returns
log(string)
protected void log(string msg)
Parameters
msgstring
log(string, Response)
protected void log(string requestMessageBody, GiroCheckoutRequest.Response response)
Parameters
requestMessageBodystringresponseGiroCheckoutRequest.Response
prepareRequestAndGetResponse()
protected GiroCheckoutRequest.Response prepareRequestAndGetResponse()
Returns
setOtherUrl(string)
public void setOtherUrl(string otherUrl)
Parameters
otherUrlstring
throwGiroCheckoutException(string, Exception)
protected void throwGiroCheckoutException(string msg, Exception ex)