You are here

public function PaymentReceipt::getReceived in Ubercart 8.4

Returns the time that the payment was made.

Return value

int The timestamp.

Overrides PaymentReceiptInterface::getReceived

File

payment/uc_payment/src/Entity/PaymentReceipt.php, line 137

Class

PaymentReceipt
Defines the payment receipt entity class.

Namespace

Drupal\uc_payment\Entity

Code

public function getReceived() {
  return $this
    ->get('received')->value;
}