public function Payment::getExpiresTime in Commerce Core 8.2
Gets the payment expiration timestamp.
Marks the time after which the payment can no longer be completed.
Return value
int The payment expiration timestamp.
Overrides PaymentInterface::getExpiresTime
1 call to Payment::getExpiresTime()
- Payment::isExpired in modules/
payment/ src/ Entity/ Payment.php - Gets whether the payment has expired.
File
- modules/
payment/ src/ Entity/ Payment.php, line 283
Class
- Payment
- Defines the payment entity class.
Namespace
Drupal\commerce_payment\EntityCode
public function getExpiresTime() {
return $this
->get('expires')->value;
}