Overview
  • Namespace
  • Class
  • Tree

Namespaces

  • OpenDNS
    • MES
      • Recurring
      • Reporting
      • Trident

Classes

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

Class Request

Base abstract for Trident API operations

OpenDNS\MES\Request
Extended by OpenDNS\MES\Trident\Request

Direct known subclasses

OpenDNS\MES\Trident\Capture, OpenDNS\MES\Trident\CardTransaction, OpenDNS\MES\Trident\DeleteStoredCard, OpenDNS\MES\Trident\ReAuthorization, OpenDNS\MES\Trident\Refund, OpenDNS\MES\Trident\Void

Indirect known subclasses

OpenDNS\MES\Trident\Credit, OpenDNS\MES\Trident\PreAuthorization, OpenDNS\MES\Trident\Sale, OpenDNS\MES\Trident\StoreCard, OpenDNS\MES\Trident\Verification

Abstract
Namespace: OpenDNS\MES\Trident
Located at Trident/Request.php

Methods summary

public
# __construct( string $environment )

Constructor, for constructing new instances

Constructor, for constructing new instances

Parameters

$environment
One of the ENV consts for API environment

Overrides

OpenDNS\MES\Request::__construct
public OpenDNS\MES\Trident\Request
# setAuthenticationInfo( string $profileId, string $profileKey )

Sets authentication info for the request

Sets authentication info for the request

This is required before calling execute()

Parameters

$profileId
Your MeS Profile ID
$profileKey
Your MeS Profile Key

Returns

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

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 $apiBasePath

The path to an API's endpoints on the server

The path to an API's endpoints on the server

# '/mes-api/tridentApi'
protected string $transactionType

Transaction type to send in the request

Transaction type to send in the request

#

Properties inherited from OpenDNS\MES\Request

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

API documentation generated by ApiGen