public function PaymentMethodInterface::setExpiresTime in Commerce Core 8.2
Sets the payment method expiration timestamp.
Parameters
int $timestamp: The payment method expiration timestamp.
Return value
$this
1 method overrides PaymentMethodInterface::setExpiresTime()
- PaymentMethod::setExpiresTime in modules/
payment/ src/ Entity/ PaymentMethod.php - Sets the payment method expiration timestamp.
File
- modules/
payment/ src/ Entity/ PaymentMethodInterface.php, line 134
Class
- PaymentMethodInterface
- Defines the interface for payment methods.
Namespace
Drupal\commerce_payment\EntityCode
public function setExpiresTime($timestamp);