public function BillingScheduleInterface::getBillingType in Commerce Recurring Framework 8
Gets the billing type.
The billing type can be either:
- Prepaid: Subscription is paid at the beginning of the period.
- Postpaid: Subscription is paid at the end of the period.
Return value
string The billing type, one of the BILLING_TYPE_ constants.
1 method overrides BillingScheduleInterface::getBillingType()
- BillingSchedule::getBillingType in src/
Entity/ BillingSchedule.php - Gets the billing type.
File
- src/
Entity/ BillingScheduleInterface.php, line 51
Class
- BillingScheduleInterface
- Defines the interface for billing schedules.
Namespace
Drupal\commerce_recurring\EntityCode
public function getBillingType();