AuditParamsRequest

AuditParamsRequest is used for audit parameters in a transaction request. This is an abstract request class that is extended by the BaseRequest class.

CommercePayments

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.

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

    Email of the client that initiated the request.

  • ipAddress

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

  • macAddress

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

  • phone

    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