You are here

function PaymentCommon::__construct in Payment 7

2 calls to PaymentCommon::__construct()
Payment::__construct in ./payment.classes.inc
Constructor.
PaymentMethod::__construct in ./payment.classes.inc
2 methods override PaymentCommon::__construct()
Payment::__construct in ./payment.classes.inc
Constructor.
PaymentMethod::__construct in ./payment.classes.inc

File

./payment.classes.inc, line 12
The API and related functions for executing and managing payments.

Class

PaymentCommon
Base class with common functionality.

Code

function __construct(array $properties = array()) {
  foreach ($properties as $property => $value) {
    $this->{$property} = $value;
  }
}