TransactionResult Class

Holds the result of the transaction.

blng

The following are methods for TransactionResult.

Sets ResponseCodeMessage.

global void setResponseCodeMessage(String responseCodeMessage)

responseCodeMessage: Type: String

Type: void

Gets ResponseCodeMessage.

global String getResponseCodeMessage()

Type: String

Sets CardCodeResponse.

global void setCardCodeResponse(String cardCodeResponse)

cardCodeResponse: Type: String

Type: void

Gets CardCodeResponse.

global String getCardCodeResponse()

Type: String

Sets customerProfileToken.

global void setCustomerProfileToken(String customerProfileToken)

customerProfileToken: Type: String

Type: void

Gets CustomerProfileToken.

global String getCustomerProfileToken()

Type: String

Sets PaymentToken.

public void setPaymentToken(String paymentToken)

paymentToken: Type: String

Type: void

Gets PaymentToken.

global String getPaymentToken()

Type: String

Sets ResponseStatus.

global void setResponseStatus(String responseStatus)

responseStatus: Type: String

Type: void

Gets ResponseStatus.

global String getResponseStatus()

Type: String

Sets the capture payment request sent to the payment gateway.

global void setGatewayRequest(String gatewayRequest)

gatewayRequest: Type: String

Type: Void

Returns the string containing the payment capture request sent to the gateway.

global String GatewayRequest()

Type: String

Returns the gateway’s response following a capture payment transaction.

global void setGatewayResponse(String gatewayResponse)

gatewayResponse: Type: String

Type: void

Returns the string containing the gateway’s response from a capture payment transaction.

global void getGatewayResponse()

Type: Void

Sets ResponseMessage.

global void setResponseMessage(String responseMessage)

responseMessage: Type: String

Type: void

Gets ResponseMessage.

global String getResponseMessage()

Type: String

Sets ResponseCode.

global void setResponseCode(String responseCode)

responseCode: Type: String

Type: void

Gets ResponseCodeMessage.

global String getResponseCode()

Type: String

Sets ResponseToValidate.

global void setResponseToValidate(String responseToValidate)

responseToValidate: Type: String

Type: void

Gets Response To Validate.

public String getResponseToValidate()

Type: String

Sets Gateway ID.

global void setGatewayId(String gatewayId)

gatewayId: Type: String

Type: void

Gets Gateway ID.

global String getGatewayId()

Type: String

Sets Type.

global void setType(String type)

type: Type: String

Type: void

Gets Type.

global String getType()

Type: String

Sets RequestTypeOfPayment.

global void setRequestTypeOfPayment(String requestTypeOfPayment)

requestTypeOfPayment: Type: String

Type: void

Gets RequestTypeOfPayment.

global String getRequestTypeofPayment()

Type: String

Sets RequestTransactionType.

global void setRequestTransactionType(String requestTransactionType)

requestTransactionType: Type: String

Type: void

Gets RequestTransactionType.

global String getRequestTransactionType()

Type: String

Sets IsSuccess

global void setIsSuccess(Boolean isSuccess)

isSuccess: Type: Boolean

Type: void

Gets IsSuccess.

global Boolean getIsSuccess()

Type: Boolean

Sets Error.

global void setError(String error)

error: Type: String

Type: void

Gets Errors.

public List<String> getErrors()

Type: List<String>

Sets ResponseValueByKey

public void setResponseValueByKey(Map<String,String> getResponseValueByKey)

getResponseValueByKey: Type: Map<String,String>

Type: void

Gets ResponseValueByKey.

global Map<string, string> getResponseValueByKey()

Type: Map<string, string>

Sets ID.

global void setId(String Id)

Id: Type: String

Type: void

Gets ID.

global String getId()

Type: String

Sets Message.

global void setMessage(String message)

message: Type: String

Type: void

Gets Message.

global String getMessage()

Type: String

Sets Message.

global void setEntity(String entity)

entity: Type: String

Type: void

Gets Message.

global String getEntity()

Type: String

Sets gatewayStatus.

global void setGatewayStatus(GatewayStatusType gatewayStatus)

gatewayStatus: Type: GatewayStatusType

Type: void

Gets GatewayStatus.

global GatewayStatusType getGatewayStatus()

Type: GatewayStatusType