getRequestKey() public method

public getRequestKey ( ) : string
return string
Beispiel #1
0
 public static GetAuthorizeAnswerData initGetAuthorizeAnswerData(SendAuthorizeRequestResponse sar)
 {
     string answerKey = "77215fe6-f9d5-f1c2-372b-c0065e0c4429";
     GetAuthorizeAnswerData gaa = new GetAuthorizeAnswerData();
     gaa.setMerchant(MERCHANT);
     gaa.setSecurity(SECURITY);
     gaa.setRequestKey(sar.getRequestKey());
     gaa.setAnswerKey(answerKey);
     return gaa;
 }
Beispiel #2
0
 //Sample Print Methods
 public static void printSendAuthorizeRequestResponse(SendAuthorizeRequestResponse sarResponse)
 {
     Console.WriteLine("Status Code: " + sarResponse.getStatusCode());
     Console.WriteLine("StatusMessage: " + sarResponse.getStatusMessage());
     Console.WriteLine("PublicRequestKey: " + sarResponse.getPublicRequestKey());
     Console.WriteLine("RequestKey: " + sarResponse.getRequestKey());
     Console.WriteLine("URLRequest: " + sarResponse.getURLRequest());
 }