AuditParamsRequest
AuditParamsRequest is used for audit parameters in a transaction request. This is an abstract request class that is extended by the BaseRequest class.
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.
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.
This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
AuditParamsRequest(String email, String macAddress, String ipAddress, String phone)
-
email:
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.
The following are properties for AuditParamsRequest.
-
Email of the client that initiated the request.
-
The customer’s IP address. Gateways often use this data in risk checks.
-
Mac address of the customer’s device. Gateways often use this data in risk checks.
-
Phone number of the client that initiated the request.
Email of the client that initiated the request.
Type: String
The customer’s IP address. Gateways often use this data in risk checks.
Type: String
Mac address of the customer’s device. Gateways often use this data in risk checks.
Type: String
Phone number of the client that initiated the request.
Type: String