Overview
  • Namespace
  • Class
  • Tree

Namespaces

  • OpenDNS
    • MES
      • Recurring
      • Reporting
      • Trident

Classes

  • Capture
  • CardTransaction
  • Credit
  • DeleteStoredCard
  • PreAuthorization
  • ReAuthorization
  • Refund
  • Request
  • Sale
  • StoreCard
  • Verification
  • Void

Class Capture

Capture a previously authorized transaction

OpenDNS\MES\Request
Extended by OpenDNS\MES\Trident\Request
Extended by OpenDNS\MES\Trident\Capture
Namespace: OpenDNS\MES\Trident
Located at Trident/Capture.php

Methods summary

public OpenDNS\MES\Trident\Capture
# setAmount( float|string $amount )

Sets the amount to settle.

Sets the amount to settle.

The settle amount can be different than the preauthorized amount.

Parameters

$amount

Returns

OpenDNS\MES\Trident\Capture
The current class instance for chaining
public OpenDNS\MES\Trident\Capture
# setInvoiceNumber( integer|string $invoiceNumber )

Set the invoice number for the transaction.

Set the invoice number for the transaction.

It's only required if it wasn't submitted with the preauthorization that's being captured. Limited to a-z, A-Z, 0-9, and spaces.

Parameters

$invoiceNumber

Returns

OpenDNS\MES\Trident\Capture
The current class instance for chaining
public OpenDNS\MES\Trident\Capture
# setTransactionId( string $transactionId )

Set the transaction ID of a previous preauthorization transaction.

Set the transaction ID of a previous preauthorization transaction.

Parameters

$transactionId

Returns

OpenDNS\MES\Trident\Capture
The current class instance for chaining

Methods inherited from OpenDNS\MES\Trident\Request

__construct(), setAuthenticationInfo()

Methods inherited from OpenDNS\MES\Request

execute(), factory(), getApiUrl(), getClient(), processResponse(), removeField(), setDefaults(), setField()

Magic methods summary

Constants summary

Constants inherited from OpenDNS\MES\Request

ENV_CERT, ENV_PROD, ENV_TEST

Properties summary

protected string $transactionType

Transaction type to send in the request

Transaction type to send in the request

# 'S'

Properties inherited from OpenDNS\MES\Trident\Request

$apiBasePath

Properties inherited from OpenDNS\MES\Request

$apiBaseDomain, $apiEndpointPath, $apiEnvironment, $defaultFieldValues, $httpMethod

API documentation generated by ApiGen