public function SubscriptionInterface::setPaymentMethodId in Commerce Recurring Framework 8
Sets the payment method ID.
Parameters
int $payment_method_id: The payment method ID.
Return value
$this
1 method overrides SubscriptionInterface::setPaymentMethodId()
- Subscription::setPaymentMethodId in src/
Entity/ Subscription.php - Sets the payment method ID.
File
- src/
Entity/ SubscriptionInterface.php, line 130
Class
- SubscriptionInterface
- Defines the interface for subscriptions.
Namespace
Drupal\commerce_recurring\EntityCode
public function setPaymentMethodId($payment_method_id);