public function SubscriptionInterface::getCurrentBillingPeriod in Commerce Recurring Framework 8
Gets the billing period value object for the current order.
Return value
\Drupal\commerce_recurring\BillingPeriod|null The billing period object, or null if not set.
1 method overrides SubscriptionInterface::getCurrentBillingPeriod()
- Subscription::getCurrentBillingPeriod in src/
Entity/ Subscription.php - Gets the billing period value object for the current order.
File
- src/
Entity/ SubscriptionInterface.php, line 504
Class
- SubscriptionInterface
- Defines the interface for subscriptions.
Namespace
Drupal\commerce_recurring\EntityCode
public function getCurrentBillingPeriod();