public function Payment::getCompletedTime in Commerce Core 8.2
Gets the payment completed timestamp.
Return value
int The payment completed timestamp.
Overrides PaymentInterface::getCompletedTime
1 call to Payment::getCompletedTime()
- 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 305
Class
- Payment
- Defines the payment entity class.
Namespace
Drupal\commerce_payment\EntityCode
public function getCompletedTime() {
return $this
->get('completed')->value;
}