Overview
  • Namespace
  • Class
  • Tree

Namespaces

  • OpenDNS
    • MES
      • Recurring
      • Reporting
      • Trident

Classes

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

Class Refund

Refund a previously captured transaction.

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

Methods summary

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

Sets the amount to refund.

Sets the amount to refund.

This is only required if you want to refund less than the full amount. If omitted, the whole transaction amount will be refunded.

Parameters

$amount

Returns

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

Set the transaction ID of a previous capture or sale transaction.

Set the transaction ID of a previous capture or sale transaction.

Parameters

$transactionId

Returns

OpenDNS\MES\Trident\Refund
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

# 'U'

Properties inherited from OpenDNS\MES\Trident\Request

$apiBasePath

Properties inherited from OpenDNS\MES\Request

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

API documentation generated by ApiGen