Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ReferencedRefundResponse Class
Namespace
Usage
The constructor of this class takes no arguments. For example:
CommercePayments.ReferencedRefundResponse refr = new CommercePayments.ReferencedRefundResponse();ReferencedRefundResponse Methods
The following are methods for ReferencedRefundResponse.
setAmount(amount)
Signature
global void setAmount(Double amount)
Parameters
- amount: Type: Double The amount to be debited or captured.
Return Value
Type: void
setAsync(async)
Signature
public void setAsync(Boolean async)
Parameters
- async: Type: Boolean
Return Value
Type: void
setGatewayAvsCode(gatewayAvsCode)
Signature
global void setGatewayAvsCode(String gatewayAvsCode)
Parameters
- gatewayAvsCode: Type: String Code sent by gateways that use an address verification system.
Return Value
Type: void
setGatewayDate(gatewayDate)
Signature
global void setGatewayDate(Datetime gatewayDate)
Parameters
- gatewayDate: Type: Datetime Date and time of the gateway communication.
Return Value
Type: void
setGatewayMessage(gatewayMessage)
Signature
global void setGatewayMessage(String gatewayMessage)
Parameters
- gatewayMessage: Type: String Information or error messages returned by the gateway.
Return Value
Type: void
setGatewayReferenceDetails(gatewayReferenceDetails)
Signature
global void setGatewayReferenceDetails(String gatewayReferenceDetails)
Parameters
- gatewayReferenceDetails: Type: String Information about the gateway communication.
Return Value
Type: void
setGatewayReferenceNumber(gatewayReferenceNumber)
Signature
global void setGatewayReferenceNumber(String gatewayReferenceNumber)
Parameters
- gatewayReferenceNumber: Type: String Unique transaction ID created by the payment gateway.
Return Value
Type: void
setGatewayResultCode(gatewayResultCode)
Signature
global void setGatewayResultCode(String gatewayResultCode)
Parameters
- gatewayResultCode: Type: String The gateway result code. Must be mapped to a Salesforce result code.
Return Value
Type: void
setGatewayResultCodeDescription(gatewayResultCodeDescription)
Signature
global void setGatewayResultCodeDescription(String gatewayResultCodeDescription)
Parameters
- gatewayResultCodeDescription: Type: String Description of the GatewayResultCode. Provides more information about the result code returned by the gateway.
Return Value
Type: void
setSalesforceResultCodeInfo(salesforceResultCodeInfo)
Signature
global void setSalesforceResultCodeInfo(commercepayments.SalesforceResultCodeInfo salesforceResultCodeInfo)
Parameters
- salesforceResultCodeInfo: Type: commercepayments.SalesforceResultCodeInfo Describes the Salesforce result code value.
Return Value
Type: void