PostAuthorizationResponse Methods
Lists the methods for the PostAuthorizationResponse.
The following are methods for PostAuthorizationResponse.
-
setAlternativePaymentMethodResponse(AlternativePaymentMethodResponsealternativePaymentMethod)
Sets details from the gateway about the authorized alternative payment method.
-
Sets the amount for payment authorization. Can be positive, negative, or zero.
-
Sets whether the payment capture or authorization is asynchronous (
True) or synchronous (False). IfTrue, then the payment or payment authorization record created has a status ofPending. -
setAuthorizationExpirationDate(authExpDate)
Sets the expiration date of the authorization request.
-
setGatewayAuthCode(gatewayAuthCode)
Sets the authorization code that the gateway returned. Maximum length of 64 characters.
-
setGatewayAvsCode(gatewayAvsCode)
Sets the AVS (address verification system) result code information that the gateway returned. Maximum length of 64 characters.
-
Sets the date that the authorization occurred. Some gateways don’t send this value.
-
setGatewayMessage(gatewayMessage)
Sets error messages that the gateway returned for the tokenization request. Maximum length of 255 characters.
-
setGatewayReferenceDetails(gatewayReferenceDetails)
Sets any additional reference details that the gateway returned.
-
setGatewayReferenceNumber(gatewayReferenceNumber)
Sets the reference number that the gateway returned.
-
setGatewayResultCode(gatewayResultCode)
Sets a gateway-specific result code. The code may be mapped to a Salesforce-specific result code. Maximum length of 64 characters.
-
setGatewayResultCodeDescription(gatewayResultCodeDescription)
Sets a description of the gateway-specific result code that a payment gateway returned. Maximum length of 1000 characters.
-
setPaymentMethodDetails(paymentMethodDetails)
Sets details about the payment method.
-
setPaymentMethodTokenizationResponse(paymentMethodTokenizationResponse)
Sets information from the gateway about the tokenized payment method.
-
setSalesforceResultCodeInfo(salesforceResultCodeInfo)
Sets the Salesforce-specific result code information. Payment gateways have many response codes for payment calls. Salesforce uses the result code information to map payment gateway codes to a predefined set of standard Salesforce result codes.