Newer Version Available

This content describes an older version of this product. View Latest

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

CommercePayments

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

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.

AuditParamsRequest Properties

The following are properties for AuditParamsRequest.

email

Email of the client that initiated the request.

Property Value

Type: String

ipAddress

The customer’s IP address. Gateways often use this data in risk checks.

Property Value

Type: String

macAddress

Mac address of the customer’s device. Gateways often use this data in risk checks.

Property Value

Type: String

phone

Phone number of the client that initiated the request.

Property Value

Type: String