public function Payment::setAuthorizedTime in Commerce Core 8.2
Sets the payment authorization timestamp.
Parameters
int $timestamp: The payment authorization timestamp.
Return value
$this
Overrides PaymentInterface::setAuthorizedTime
1 call to Payment::setAuthorizedTime()
- Payment::preSave in modules/
payment/ src/ Entity/ Payment.php - Acts on an entity before the presave hook is invoked.
File
- modules/
payment/ src/ Entity/ Payment.php, line 267
Class
- Payment
- Defines the payment entity class.
Namespace
Drupal\commerce_payment\EntityCode
public function setAuthorizedTime($timestamp) {
$this
->set('authorized', $timestamp);
return $this;
}