public function PaymentMethodInterface::setReusable in Commerce Core 8.2
Sets whether the payment method is reusable.
Parameters
bool $reusable: Whether the payment method is reusable.
Return value
$this
1 method overrides PaymentMethodInterface::setReusable()
- PaymentMethod::setReusable in modules/
payment/ src/ Entity/ PaymentMethod.php - Sets whether the payment method is reusable.
File
- modules/
payment/ src/ Entity/ PaymentMethodInterface.php, line 90
Class
- PaymentMethodInterface
- Defines the interface for payment methods.
Namespace
Drupal\commerce_payment\EntityCode
public function setReusable($reusable);