Newer Version Available
AuditParamsRequest
AuditParamsRequest is used for audit parameters in a
transaction request. This is an abstract request class that is extended by the BaseRequest class.
Namespace
Usage
AuditParamsRequest is an abstract class that holds attributes related to audit parameters such as email, IP address, MAC address, and phone number. This class can't be instantiated on its own. All CommercePayments request classes extend this class.
AuditParamsRequest Constructors
The following are constructors for AuditParamsRequest.
AuditParamsRequest(email, macAddress, ipAddress, phone)
This constructor is intended for test usage and throws an exception
if used outside of the Apex test context.
Signature
AuditParamsRequest(String email, String macAddress, String ipAddress, String
phone)
Parameters
- Type: String
- Email of the client that initiated the request.
- macAddress
- Type: String
- Mac address of the customer’s device. Gateways often use this data in risk checks.
- ipAddress
- Type: String
- The customer’s IP address. Gateways often use this data in risk checks.
- phone
- Type: String
- Phone number of the client that initiated the request.