CaptureRequest

Represents a Capture request. This class extends the BaseRequest class and inherits all its methods.

Namespace

commercepayments

CaptureRequest Constructors

The following are constructors for CaptureRequest.

CaptureRequest(amount, authorizationId)

This method is used only for testing.

Parameters

amount
Type: Double
The amount to be debited or captured.
authorizationId
Type: String
Represents a payment authorization record.

CaptureRequest Properties

The following are properties for CaptureRequest.

accountId

Account ID value. References an account record.

Property Value

Type: String

amount

Amount of currency that needs to be captured.

Property Value

Type: Double

paymentAuthorizationId

ID value that references a PaymentAuthorization.

Property Value

Type: String