| Payeezy-PHP 1.0.0

- Main Page
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Public Member Functions
Payeezy_Transaction Class Reference
Inheritance diagram for Payeezy_Transaction:

## Public Member Functions
| __construct ($client)
| hmacAuthorizationToken ($payload)
| jsonpp ($json, $istr= ' ')
| postTransaction ($payload, $headers)
| doPrimaryTransaction ($args=array())
| doSecondaryTransaction ($transaction_id, $args=array())

## Constructor & Destructor Documentation

__construct | ( |  | $client | ) |

## Member Function Documentation

doPrimaryTransaction | ( |  | $args = `array()` | ) |

Use this for primary transactions like Authorize, Purchase

Parameters

  transactionRequest |

Returns

Exceptions

  Exception |

doSecondaryTransaction | ( |  | $transaction_id,
|  |  | $args = `array()`
| ) |  |

Use this for Secondary transactions like void, refund, capture etc

hmacAuthorizationToken | ( |  | $payload | ) |

Payeezy

HMAC Authentication

jsonpp | ( |  | $json,
|  |  | $istr = `' '`
| ) |  |

jsonpp - Pretty print JSON data

In versions of PHP < 5.4.x, the json_encode() function does not yet provide a pretty-print option. In lieu of forgoing the feature, an additional call can be made to this function, passing in JSON text, and (optionally) a string to be used for indentation.

Parameters

  string | $json | The JSON data, pre-encoded
  string | $istr | The indentation string

Returns
  string

postTransaction | ( |  | $payload,
|  |  | $headers
| ) |  |

Payeezy

Post Transaction

The documentation for this class was generated from the following file:

- src/Payeezy/Transaction.php