public function PaymentMethod::getCreatedTime in Commerce Core 8.2
Gets the payment method creation timestamp.
Return value
int Creation timestamp of the payment.
Overrides PaymentMethodInterface::getCreatedTime
File
- modules/
payment/ src/ Entity/ PaymentMethod.php, line 199
Class
- PaymentMethod
- Defines the payment method entity class.
Namespace
Drupal\commerce_payment\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}